Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.287/2.287, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.0009998/0.0009998, allocations: 176.9 kB / 492.3 MB, free: 0.625 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.467/1.467, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009227/0.0009227, allocations: 95.88 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.975e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2871, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.108/1.395, allocations: 199.4 MB / 1.407 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.395, allocations: 96.73 kB / 1.407 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2607/1.656, allocations: 112.5 MB / 1.517 GB, free: 14.51 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.843e-06/1.656, allocations: 0 / 1.517 GB, free: 14.51 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001108/1.656, allocations: 59.94 kB / 1.517 GB, free: 14.45 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.006698/1.663, allocations: 2.354 MB / 1.52 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/1.663, allocations: 12.03 kB / 1.52 GB, free: 12.03 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001093/1.664, allocations: 450.1 kB / 1.52 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01292/1.677, allocations: 1.9 MB / 1.522 GB, free: 9.668 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006145/1.683, allocations: 1.682 MB / 1.523 GB, free: 7.938 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002776/1.684, allocations: 217.9 kB / 1.524 GB, free: 7.723 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/1.685, allocations: 291.9 kB / 1.524 GB, free: 7.438 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/1.695, allocations: 4.803 MB / 1.529 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.923e-05/1.695, allocations: 0 / 1.529 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003781/1.696, allocations: 123.9 kB / 1.529 GB, free: 2.422 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003521/1.696, allocations: 196.9 kB / 1.529 GB, free: 2.227 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008072/1.704, allocations: 4.38 MB / 1.533 GB, free: 13.83 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.02838/1.732, allocations: 22.76 MB / 1.555 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/1.735, allocations: 2.017 MB / 1.557 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/1.737, allocations: 1.174 MB / 1.559 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002295/1.738, allocations: 118 kB / 1.559 GB, free: 1.551 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.365e-05/1.738, allocations: 47.56 kB / 1.559 GB, free: 1.496 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=116): time 4.408e-06/1.738, allocations: 0 / 1.559 GB, free: 1.496 MB / 0.9636 GB Notification: Performance of matching and sorting (n=146): time 0.02665/1.764, allocations: 8.76 MB / 1.567 GB, free: 8.684 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/1.764, allocations: 222.9 kB / 1.568 GB, free: 8.418 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/1.766, allocations: 0.9331 MB / 1.568 GB, free: 7.477 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/1.766, allocations: 53.7 kB / 1.568 GB, free: 7.418 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000853/1.767, allocations: 1.242 MB / 1.57 GB, free: 6.156 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005732/1.768, allocations: 0.5007 MB / 1.57 GB, free: 5.648 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/1.768, allocations: 44 kB / 1.57 GB, free: 5.605 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002388/1.768, allocations: 423 kB / 1.571 GB, free: 5.184 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/1.77, allocations: 1.265 MB / 1.572 GB, free: 3.914 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/1.773, allocations: 1.944 MB / 1.574 GB, free: 1.656 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002515/1.775, allocations: 1.586 MB / 1.575 GB, free: 72 kB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/1.775, allocations: 8 kB / 1.575 GB, free: 64 kB / 0.9792 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.007418/1.783, allocations: 4.011 MB / 1.579 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.004079/1.787, allocations: 8.614 MB / 1.588 GB, free: 2.734 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-05/1.787, allocations: 20 kB / 1.588 GB, free: 2.715 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002221/1.789, allocations: 0.7465 MB / 1.588 GB, free: 1.949 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003826/1.793, allocations: 0.7604 MB / 1.589 GB, free: 1.188 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01376/1.807, allocations: 12.49 MB / 1.601 GB, free: 3.898 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/1.811, allocations: 470.9 kB / 1.602 GB, free: 3.438 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004135/1.811, allocations: 119.9 kB / 1.602 GB, free: 3.32 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/1.811, allocations: 8 kB / 1.602 GB, free: 3.312 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007012/1.818, allocations: 3.858 MB / 1.606 GB, free: 15.43 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.185e-05/1.818, allocations: 24.06 kB / 1.606 GB, free: 15.41 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/1.82, allocations: 0.6885 MB / 1.606 GB, free: 14.7 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00358/1.824, allocations: 0.7643 MB / 1.607 GB, free: 13.94 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/1.837, allocations: 12.4 MB / 1.619 GB, free: 0.7344 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003486/1.84, allocations: 455.1 kB / 1.62 GB, free: 296 kB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002854/1.841, allocations: 115.9 kB / 1.62 GB, free: 180 kB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 226 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006321/1.841, allocations: 236.3 kB / 1.62 GB, free: 15.93 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/1.842, allocations: 114.7 kB / 1.62 GB, free: 15.82 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006461/1.848, allocations: 3.368 MB / 1.623 GB, free: 12.4 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/1.848, allocations: 19.98 kB / 1.623 GB, free: 12.38 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/1.848, allocations: 8 kB / 1.623 GB, free: 12.38 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/1.848, allocations: 7.938 kB / 1.623 GB, free: 12.37 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/1.861, allocations: 7.195 MB / 1.63 GB, free: 4.961 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/1.861, allocations: 8 kB / 1.63 GB, free: 4.953 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002493/1.863, allocations: 0.5194 MB / 1.631 GB, free: 4.434 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001792/1.865, allocations: 0.6295 MB / 1.632 GB, free: 3.785 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/1.865, allocations: 59.84 kB / 1.632 GB, free: 3.727 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/1.878, allocations: 12.03 MB / 1.643 GB, free: 6.895 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/1.878, allocations: 11.83 kB / 1.643 GB, free: 6.887 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005828/1.884, allocations: 3.521 MB / 1.647 GB, free: 3.082 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/1.885, allocations: 495.4 kB / 1.647 GB, free: 2.578 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/1.885, allocations: 39.94 kB / 1.647 GB, free: 2.539 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002529/1.888, allocations: 391.3 kB / 1.648 GB, free: 2.156 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003216/1.888, allocations: 128.7 kB / 1.648 GB, free: 2.027 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/1.888, allocations: 59.95 kB / 1.648 GB, free: 1.969 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001108/1.889, allocations: 0.7216 MB / 1.649 GB, free: 1.25 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.9e-07/1.889, allocations: 0 / 1.649 GB, free: 1.25 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.004177/1.893, allocations: 1.164 MB / 1.65 GB, free: 88 kB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006568/1.9, allocations: 5.981 MB / 1.656 GB, free: 9.883 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.912, allocations: 6.597 MB / 1.662 GB, free: 3.137 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.912, allocations: 4.125 kB / 1.662 GB, free: 3.133 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003615/1.915, allocations: 2.22 MB / 1.664 GB, free: 0.832 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/1.917, allocations: 151.2 kB / 1.664 GB, free: 0.6914 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/1.937, allocations: 6.598 MB / 1.671 GB, free: 9.953 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002693/1.94, allocations: 2.335 MB / 1.673 GB, free: 7.582 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.004512/1.944, allocations: 1.269 MB / 1.674 GB, free: 6.309 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001584/1.946, allocations: 0.8468 MB / 1.675 GB, free: 5.461 MB / 1.089 GB Notification: Performance of SimCode: time 1.242e-06/1.946, allocations: 0 / 1.675 GB, free: 5.461 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09752/2.043, allocations: 47.6 MB / 1.722 GB, free: 6.145 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002931/2.044, allocations: 204.2 kB / 1.722 GB, free: 5.918 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.252/5.296, allocations: 0 / 1.722 GB, free: 5.918 MB / 1.135 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat