Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",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.332/2.332, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001521/0.001521, allocations: 176.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.0009305/0.0009305, allocations: 95.89 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.259e-05/5.273e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.2996, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/1.336, allocations: 204.2 MB / 1.418 GB, free: 140 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003483/1.336, allocations: 104.4 kB / 1.418 GB, free: 80 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1825/1.519, allocations: 73.67 MB / 1.49 GB, free: 11.92 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.923e-06/1.519, allocations: 0 / 1.49 GB, free: 11.92 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001502/1.519, allocations: 32 kB / 1.49 GB, free: 11.89 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.005529/1.525, allocations: 1.569 MB / 1.492 GB, free: 10.27 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.525, allocations: 8.031 kB / 1.492 GB, free: 10.26 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001044/1.526, allocations: 252.2 kB / 1.492 GB, free: 10 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003154/1.529, allocations: 0.4974 MB / 1.493 GB, free: 9.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/1.532, allocations: 1.15 MB / 1.494 GB, free: 8.305 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/1.532, allocations: 115.1 kB / 1.494 GB, free: 8.191 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005591/1.533, allocations: 152 kB / 1.494 GB, free: 8.043 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005284/1.538, allocations: 2.439 MB / 1.496 GB, free: 5.539 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.962e-05/1.538, allocations: 4 kB / 1.496 GB, free: 5.535 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/1.538, allocations: 67.98 kB / 1.496 GB, free: 5.469 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/1.538, allocations: 87.05 kB / 1.497 GB, free: 5.383 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003472/1.542, allocations: 1.98 MB / 1.498 GB, free: 3.398 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01456/1.556, allocations: 10.53 MB / 1.509 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009214/1.557, allocations: 0.5569 MB / 1.509 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005409/1.558, allocations: 372.7 kB / 1.51 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/1.558, allocations: 85.11 kB / 1.51 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/1.558, allocations: 42.5 kB / 1.51 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=36): time 2.254e-06/1.558, allocations: 4 kB / 1.51 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of matching and sorting (n=52): time 0.0148/1.573, allocations: 4.787 MB / 1.514 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/1.573, allocations: 93.5 kB / 1.515 GB, free: 1.973 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/1.574, allocations: 0.804 MB / 1.515 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/1.574, allocations: 37.7 kB / 1.515 GB, free: 1.117 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005657/1.575, allocations: 0.7538 MB / 1.516 GB, free: 360 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/1.575, allocations: 185.4 kB / 1.516 GB, free: 172 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/1.575, allocations: 16 kB / 1.516 GB, free: 156 kB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002253/1.575, allocations: 394.8 kB / 1.517 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000868/1.576, allocations: 0.5915 MB / 1.517 GB, free: 15.16 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/1.578, allocations: 0.9605 MB / 1.518 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/1.579, allocations: 0.7683 MB / 1.519 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/1.579, allocations: 4 kB / 1.519 GB, free: 13.26 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.006658/1.585, allocations: 2.773 MB / 1.522 GB, free: 10.46 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001898/1.587, allocations: 4.526 MB / 1.526 GB, free: 5.586 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/1.587, allocations: 12 kB / 1.526 GB, free: 5.574 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005269/1.593, allocations: 1.427 MB / 1.527 GB, free: 4.133 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009282/1.594, allocations: 223.6 kB / 1.528 GB, free: 3.914 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008371/1.602, allocations: 6.824 MB / 1.534 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/1.603, allocations: 159.8 kB / 1.535 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.309e-05/1.603, allocations: 43.98 kB / 1.535 GB, free: 12.57 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/1.603, allocations: 4 kB / 1.535 GB, free: 12.57 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005157/1.609, allocations: 2.247 MB / 1.537 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/1.609, allocations: 12 kB / 1.537 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003211/1.612, allocations: 0.8721 MB / 1.538 GB, free: 9.418 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009726/1.613, allocations: 255.5 kB / 1.538 GB, free: 9.168 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007401/1.62, allocations: 5.376 MB / 1.543 GB, free: 3.523 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/1.621, allocations: 139.9 kB / 1.543 GB, free: 3.387 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/1.622, allocations: 43.98 kB / 1.543 GB, free: 3.344 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003727/1.622, allocations: 160.6 kB / 1.543 GB, free: 3.18 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/1.622, allocations: 83.06 kB / 1.544 GB, free: 3.098 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006428/1.629, allocations: 2.309 MB / 1.546 GB, free: 0.7617 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/1.629, allocations: 8 kB / 1.546 GB, free: 0.7539 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.629, allocations: 4 kB / 1.546 GB, free: 0.75 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/1.629, allocations: 3.984 kB / 1.546 GB, free: 0.7461 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00982/1.639, allocations: 4.262 MB / 1.55 GB, free: 12.36 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.639, allocations: 0 / 1.55 GB, free: 12.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/1.639, allocations: 112 kB / 1.55 GB, free: 12.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005006/1.644, allocations: 1.357 MB / 1.551 GB, free: 10.88 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-05/1.644, allocations: 12 kB / 1.551 GB, free: 10.87 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01251/1.657, allocations: 9.485 MB / 1.561 GB, free: 0.8516 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/1.657, allocations: 11.91 kB / 1.561 GB, free: 0.8398 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005929/1.663, allocations: 2.373 MB / 1.563 GB, free: 14.36 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007395/1.663, allocations: 284 kB / 1.563 GB, free: 14.07 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/1.664, allocations: 16 kB / 1.563 GB, free: 14.05 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008575/1.665, allocations: 119.8 kB / 1.563 GB, free: 13.93 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/1.665, allocations: 47.88 kB / 1.563 GB, free: 13.89 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.277e-05/1.665, allocations: 16 kB / 1.563 GB, free: 13.87 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001041/1.666, allocations: 0.6279 MB / 1.564 GB, free: 13.25 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.2e-07/1.666, allocations: 0 / 1.564 GB, free: 13.25 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.002452/1.668, allocations: 0.6288 MB / 1.565 GB, free: 12.62 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006624/1.675, allocations: 3.554 MB / 1.568 GB, free: 8.969 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.005509/1.681, allocations: 2.955 MB / 1.571 GB, free: 5.965 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.681, allocations: 4.062 kB / 1.571 GB, free: 5.961 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001935/1.683, allocations: 1.232 MB / 1.572 GB, free: 4.676 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/1.684, allocations: 215.8 kB / 1.572 GB, free: 4.469 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006341/1.69, allocations: 2.894 MB / 1.575 GB, free: 1.504 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/1.692, allocations: 1.642 MB / 1.577 GB, free: 15.83 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.001721/1.693, allocations: 0.5959 MB / 1.577 GB, free: 15.23 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008093/1.694, allocations: 483.3 kB / 1.578 GB, free: 14.76 MB / 1.042 GB Notification: Performance of SimCode: time 1.984e-06/1.694, allocations: 0 / 1.578 GB, free: 14.76 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05793/1.752, allocations: 34.37 MB / 1.611 GB, free: 12.72 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/1.752, allocations: 211.6 kB / 1.612 GB, free: 12.5 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.737/4.49, allocations: 2.188 kB / 1.612 GB, free: 12.5 MB / 1.073 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_res.mat does not exist to compare? outputFormat=mat