Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.638/2.638, allocations: 393.5 MB / 408.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 178.7 kB / 0.4901 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.1 MB / 0.7992 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009391/0.000939, allocations: 96.33 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003604, allocations: 10.12 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2793, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.5075, allocations: 189.1 MB / 1.414 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/0.5079, allocations: 95.94 kB / 1.414 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.81/1.318, allocations: 48.72 MB / 1.462 GB, free: 160.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 5.29e-06/1.318, allocations: 0 / 1.462 GB, free: 160.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.296e-05/1.318, allocations: 29.09 kB / 1.462 GB, free: 160.5 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.002272/1.32, allocations: 0.9583 MB / 1.463 GB, free: 159.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/1.32, allocations: 11.47 kB / 1.463 GB, free: 159.8 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001482/1.321, allocations: 115.8 kB / 1.463 GB, free: 159.7 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008482/1.329, allocations: 1.558 MB / 1.464 GB, free: 159 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/1.33, allocations: 0.5438 MB / 1.465 GB, free: 158.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/1.33, allocations: 48.19 kB / 1.465 GB, free: 158.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/1.33, allocations: 61.38 kB / 1.465 GB, free: 158.7 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004026/1.334, allocations: 1.84 MB / 1.467 GB, free: 157.9 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/1.334, allocations: 7.938 kB / 1.467 GB, free: 157.9 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/1.334, allocations: 28.61 kB / 1.467 GB, free: 157.9 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001767/1.335, allocations: 98.31 kB / 1.467 GB, free: 157.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006852/1.342, allocations: 2.479 MB / 1.469 GB, free: 157.1 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008319/1.35, allocations: 6.385 MB / 1.475 GB, free: 152.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003153/1.353, allocations: 1.358 MB / 1.477 GB, free: 151.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002442/1.355, allocations: 2.231 MB / 1.479 GB, free: 149.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/1.356, allocations: 49.41 kB / 1.479 GB, free: 149.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=69): time 2.635e-06/1.356, allocations: 0 / 1.479 GB, free: 149.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=93): time 0.01886/1.374, allocations: 6.426 MB / 1.485 GB, free: 144.2 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/1.375, allocations: 203.1 kB / 1.485 GB, free: 144 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005195/1.375, allocations: 465.2 kB / 1.486 GB, free: 143.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/1.375, allocations: 42.77 kB / 1.486 GB, free: 143.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/1.375, allocations: 388.9 kB / 1.486 GB, free: 143.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/1.376, allocations: 328.5 kB / 1.487 GB, free: 143 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.06e-05/1.376, allocations: 21.31 kB / 1.487 GB, free: 143 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.954e-05/1.376, allocations: 387.5 kB / 1.487 GB, free: 142.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/1.378, allocations: 0.9945 MB / 1.488 GB, free: 141.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/1.381, allocations: 1.266 MB / 1.489 GB, free: 140.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002445/1.383, allocations: 1.081 MB / 1.49 GB, free: 139.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/1.383, allocations: 4 kB / 1.49 GB, free: 139.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.007872/1.391, allocations: 3.217 MB / 1.493 GB, free: 137.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005842/1.392, allocations: 3.138 MB / 1.496 GB, free: 134 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/1.392, allocations: 8 kB / 1.497 GB, free: 134 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003456/1.395, allocations: 0.9702 MB / 1.497 GB, free: 133.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/1.397, allocations: 465.2 kB / 1.498 GB, free: 132.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006909/1.404, allocations: 7.587 MB / 1.505 GB, free: 125.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/1.406, allocations: 302.8 kB / 1.506 GB, free: 125.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/1.406, allocations: 59.61 kB / 1.506 GB, free: 125.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/1.406, allocations: 7.938 kB / 1.506 GB, free: 125.6 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007406/1.414, allocations: 2.917 MB / 1.509 GB, free: 123.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/1.414, allocations: 8 kB / 1.509 GB, free: 123.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002473/1.416, allocations: 0.6935 MB / 1.509 GB, free: 122.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/1.418, allocations: 484.7 kB / 1.51 GB, free: 122.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006386/1.425, allocations: 6.859 MB / 1.516 GB, free: 116.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/1.427, allocations: 297.9 kB / 1.517 GB, free: 115.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/1.427, allocations: 62.95 kB / 1.517 GB, free: 115.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006148/1.427, allocations: 352.2 kB / 1.517 GB, free: 115.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/1.428, allocations: 71.16 kB / 1.517 GB, free: 115.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00818/1.436, allocations: 3.004 MB / 1.52 GB, free: 112.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/1.436, allocations: 12 kB / 1.52 GB, free: 112.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/1.436, allocations: 4 kB / 1.52 GB, free: 112.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/1.436, allocations: 7.984 kB / 1.52 GB, free: 112.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/1.446, allocations: 4.954 MB / 1.525 GB, free: 107.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/1.446, allocations: 8 kB / 1.525 GB, free: 107.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/1.448, allocations: 359.4 kB / 1.525 GB, free: 107.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003375/1.451, allocations: 0.9323 MB / 1.526 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/1.451, allocations: 35.97 kB / 1.526 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009463/1.461, allocations: 8.901 MB / 1.535 GB, free: 96.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.461, allocations: 7.938 kB / 1.535 GB, free: 96.81 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008529/1.469, allocations: 3.428 MB / 1.538 GB, free: 93.16 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008971/1.47, allocations: 312.1 kB / 1.539 GB, free: 92.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/1.47, allocations: 24 kB / 1.539 GB, free: 92.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/1.472, allocations: 295.3 kB / 1.539 GB, free: 92.53 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000288/1.473, allocations: 95.72 kB / 1.539 GB, free: 92.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/1.473, allocations: 35.97 kB / 1.539 GB, free: 92.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004992/1.473, allocations: 362.8 kB / 1.539 GB, free: 92.04 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.7e-07/1.473, allocations: 0 / 1.539 GB, free: 92.04 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002467/1.476, allocations: 0.5312 MB / 1.54 GB, free: 91.51 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 62 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.008516/1.484, allocations: 5.534 MB / 1.545 GB, free: 85.79 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.495, allocations: 4.694 MB / 1.55 GB, free: 81.02 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/1.495, allocations: 0 / 1.55 GB, free: 81.02 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00359/1.499, allocations: 1.738 MB / 1.552 GB, free: 79.23 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009779/1.5, allocations: 104.5 kB / 1.552 GB, free: 79.13 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02353/1.524, allocations: 14.35 MB / 1.566 GB, free: 64.49 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/1.524, allocations: 1.043 MB / 1.567 GB, free: 63.42 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00192/1.526, allocations: 0.4913 MB / 1.567 GB, free: 62.92 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000511/1.527, allocations: 267.3 kB / 1.567 GB, free: 62.66 MB / 0.9167 GB Notification: Performance of SimCode: time 1.133e-06/1.527, allocations: 3.938 kB / 1.567 GB, free: 62.66 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04276/1.57, allocations: 25.19 MB / 1.592 GB, free: 37.74 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/1.57, allocations: 237.2 kB / 1.592 GB, free: 37.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.752/4.322, allocations: 0 / 1.592 GB, free: 37.5 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat does not exist to compare? outputFormat=mat