Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.428/1.428, allocations: 287.4 MB / 302.6 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008973/0.0008972, allocations: 189.4 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.11/1.11, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000658/0.000658, allocations: 94.73 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003065, allocations: 10.7 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1352, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.003422/0.1387, allocations: 4.74 MB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00343/0.1421, allocations: 3.846 MB / 0.9871 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.1423, allocations: 15.88 kB / 0.9871 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.1425, allocations: 91.23 kB / 0.9872 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00075/0.1433, allocations: 0.5211 MB / 0.9877 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006912/0.144, allocations: 407.1 kB / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007103/0.1447, allocations: 1.337 MB / 0.9894 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007285/0.1454, allocations: 0.6902 MB / 0.9901 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.1457, allocations: 386.5 kB / 0.9905 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004123/0.1461, allocations: 0.5138 MB / 0.991 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.935e-05/0.1462, allocations: 43.88 kB / 0.991 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005312/0.1467, allocations: 495.3 kB / 0.9915 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.1469, allocations: 299.2 kB / 0.9918 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.647e-05/0.147, allocations: 161.3 kB / 0.9919 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000594/0.1476, allocations: 1.025 MB / 0.9929 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1476, allocations: 0 / 0.9929 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 8.82e-07/0.1476, allocations: 0 / 0.9929 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.862e-06/0.1476, allocations: 0 / 0.9929 GB, free: 13.46 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.001192/0.1488, allocations: 1.009 MB / 0.9939 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.1489, allocations: 8.031 kB / 0.9939 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.649e-05/0.1489, allocations: 126.6 kB / 0.994 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007522/0.1565, allocations: 1.696 MB / 0.9957 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006391/0.1571, allocations: 0.6118 MB / 0.9963 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.1572, allocations: 45.66 kB / 0.9963 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.1573, allocations: 64.34 kB / 0.9964 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003484/0.1608, allocations: 1.909 MB / 0.9983 GB, free: 7.824 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.1608, allocations: 7.938 kB / 0.9983 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.848e-05/0.1609, allocations: 31.97 kB / 0.9983 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002499/0.1612, allocations: 153.3 kB / 0.9985 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005901/0.1671, allocations: 2.616 MB / 1.001 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006823/0.1739, allocations: 6.665 MB / 1.008 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002819/0.1767, allocations: 1.254 MB / 1.009 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002196/0.1789, allocations: 0.9114 MB / 1.01 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001609/0.1806, allocations: 1.491 MB / 1.011 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.1806, allocations: 42.56 kB / 1.011 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 1.703e-06/0.1806, allocations: 0 / 1.011 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=107): time 0.02352/0.2041, allocations: 8.243 MB / 1.019 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.2042, allocations: 90.09 kB / 1.019 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/0.2047, allocations: 0.573 MB / 1.02 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.553e-05/0.2048, allocations: 45.7 kB / 1.02 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.205, allocations: 411 kB / 1.02 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.2053, allocations: 378.6 kB / 1.021 GB, free: 372 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/0.2054, allocations: 24 kB / 1.021 GB, free: 348 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2055, allocations: 394.8 kB / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/0.2081, allocations: 1.103 MB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002781/0.2109, allocations: 1.448 MB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005187/0.2161, allocations: 2.6 MB / 1.026 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.2161, allocations: 4 kB / 1.026 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.009351/0.2255, allocations: 3.886 MB / 1.03 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.2257, allocations: 400.1 kB / 1.03 GB, free: 6.055 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.2257, allocations: 8 kB / 1.03 GB, free: 6.047 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004585/0.2303, allocations: 1.384 MB / 1.032 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/0.232, allocations: 463.2 kB / 1.032 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/0.2449, allocations: 11.22 MB / 1.043 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.2467, allocations: 311.6 kB / 1.043 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.2468, allocations: 59.97 kB / 1.043 GB, free: 8.082 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/0.2468, allocations: 4 kB / 1.043 GB, free: 8.078 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008567/0.2554, allocations: 3.577 MB / 1.047 GB, free: 4.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2554, allocations: 8 kB / 1.047 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003439/0.2588, allocations: 1.104 MB / 1.048 GB, free: 3.363 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.2606, allocations: 475.2 kB / 1.048 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.2716, allocations: 10.33 MB / 1.058 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.2732, allocations: 303.6 kB / 1.059 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.2734, allocations: 71.95 kB / 1.059 GB, free: 7.66 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004168/0.2738, allocations: 376.7 kB / 1.059 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.2739, allocations: 86.91 kB / 1.059 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009612/0.2836, allocations: 3.762 MB / 1.063 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.2836, allocations: 12 kB / 1.063 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.2836, allocations: 8 kB / 1.063 GB, free: 3.383 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.2836, allocations: 3.984 kB / 1.063 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2837/0.5673, allocations: 5.476 MB / 1.068 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.5673, allocations: 5.031 kB / 1.068 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/0.5688, allocations: 362.6 kB / 1.069 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004187/0.573, allocations: 1.248 MB / 1.07 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.5732, allocations: 33.53 kB / 1.07 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/0.5849, allocations: 10.74 MB / 1.08 GB, free: 77.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.5849, allocations: 7.406 kB / 1.08 GB, free: 77.13 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008433/0.5933, allocations: 3.671 MB / 1.084 GB, free: 75.96 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004785/0.5938, allocations: 341.8 kB / 1.084 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.594, allocations: 24.55 kB / 1.084 GB, free: 75.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/0.5956, allocations: 322.2 kB / 1.085 GB, free: 75.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.5959, allocations: 106.8 kB / 1.085 GB, free: 75.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.929e-05/0.5959, allocations: 45.47 kB / 1.085 GB, free: 75.74 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003821/0.5963, allocations: 398.4 kB / 1.085 GB, free: 75.56 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5963, allocations: 0.9688 kB / 1.085 GB, free: 75.56 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001621/0.598, allocations: 0.5964 MB / 1.086 GB, free: 75.49 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00884/0.6068, allocations: 4.256 MB / 1.09 GB, free: 73.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01191/0.6187, allocations: 5.717 MB / 1.096 GB, free: 71.62 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.6188, allocations: 3.844 kB / 1.096 GB, free: 71.62 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004107/0.6229, allocations: 2.13 MB / 1.098 GB, free: 70.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.624, allocations: 151.5 kB / 1.098 GB, free: 70.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0218/0.6458, allocations: 10.57 MB / 1.108 GB, free: 65.91 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.6464, allocations: 1.112 MB / 1.109 GB, free: 65.02 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001737/0.6481, allocations: 0.5385 MB / 1.11 GB, free: 64.76 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000426/0.6485, allocations: 296.3 kB / 1.11 GB, free: 64.53 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.6485, allocations: 1.375 kB / 1.11 GB, free: 64.53 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.405/2.054, allocations: 33.37 MB / 1.143 GB, free: 38.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/2.054, allocations: 236.6 kB / 1.143 GB, free: 37.81 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.604/4.658, allocations: 0 / 1.143 GB, free: 37.81 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)