Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.362/2.362, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001121/0.001121, allocations: 183.6 kB / 487.4 MB, free: 5.039 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.598/1.598, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009543/0.0009542, allocations: 90.84 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.838e-05/2.817e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3501, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.229/1.579, allocations: 174.5 MB / 1.376 GB, free: 17.94 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/1.58, allocations: 94.75 kB / 1.377 GB, free: 17.94 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1213/1.701, allocations: 55.32 MB / 1.431 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.064e-06/1.701, allocations: 0 / 1.431 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.351e-05/1.701, allocations: 24 kB / 1.431 GB, free: 0.8516 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001827/1.703, allocations: 0.9818 MB / 1.432 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/1.703, allocations: 8.031 kB / 1.432 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/1.705, allocations: 238.6 kB / 1.432 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009658/1.706, allocations: 0.5462 MB / 1.432 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/1.706, allocations: 20 kB / 1.432 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/1.706, allocations: 43.98 kB / 1.432 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009938/1.707, allocations: 0.5943 MB / 1.433 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/1.708, allocations: 1.018 MB / 1.434 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/1.708, allocations: 3.984 kB / 1.434 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.849e-05/1.708, allocations: 8 kB / 1.434 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.583e-05/1.708, allocations: 59.25 kB / 1.434 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00558/1.714, allocations: 5.763 MB / 1.44 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009543/1.715, allocations: 0.5196 MB / 1.44 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/1.715, allocations: 313.1 kB / 1.44 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/1.715, allocations: 4.438 kB / 1.44 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/1.715, allocations: 38.88 kB / 1.44 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=47): time 2.785e-06/1.715, allocations: 0 / 1.44 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.002312/1.718, allocations: 1.164 MB / 1.442 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/1.718, allocations: 55.84 kB / 1.442 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/1.718, allocations: 409.7 kB / 1.442 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/1.718, allocations: 25.7 kB / 1.442 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/1.719, allocations: 408.2 kB / 1.442 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/1.719, allocations: 158.7 kB / 1.443 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/1.719, allocations: 0 / 1.443 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.719, allocations: 372.8 kB / 1.443 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/1.719, allocations: 251.5 kB / 1.443 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004771/1.72, allocations: 441.8 kB / 1.444 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/1.72, allocations: 315.6 kB / 1.444 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.72, allocations: 4 kB / 1.444 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00169/1.722, allocations: 0.9613 MB / 1.445 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/1.722, allocations: 8 kB / 1.445 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/1.722, allocations: 8 kB / 1.445 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008346/1.723, allocations: 266.2 kB / 1.445 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/1.724, allocations: 119.5 kB / 1.445 GB, free: 3.469 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006141/1.73, allocations: 6.333 MB / 1.451 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000738/1.73, allocations: 27.95 kB / 1.451 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/1.731, allocations: 23.88 kB / 1.452 GB, free: 13.25 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001952/1.731, allocations: 128.7 kB / 1.452 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001355/1.732, allocations: 0.7835 MB / 1.452 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/1.732, allocations: 71.2 kB / 1.452 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/1.734, allocations: 0.824 MB / 1.453 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.734, allocations: 11.94 kB / 1.453 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.734, allocations: 4 kB / 1.453 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/1.734, allocations: 3.984 kB / 1.453 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/1.736, allocations: 1.569 MB / 1.455 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/1.736, allocations: 0 / 1.455 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/1.737, allocations: 59.89 kB / 1.455 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007766/1.737, allocations: 257.7 kB / 1.455 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/1.737, allocations: 4 kB / 1.455 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006339/1.744, allocations: 6.308 MB / 1.461 GB, free: 4.125 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/1.744, allocations: 7.969 kB / 1.461 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/1.746, allocations: 0.9912 MB / 1.462 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004222/1.746, allocations: 182.9 kB / 1.462 GB, free: 3.074 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/1.746, allocations: 11.98 kB / 1.462 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005093/1.747, allocations: 15.97 kB / 1.462 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/1.747, allocations: 49.89 kB / 1.463 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/1.747, allocations: 15.81 kB / 1.463 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004623/1.747, allocations: 300 kB / 1.463 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.5e-07/1.747, allocations: 0 / 1.463 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001171/1.749, allocations: 204 kB / 1.463 GB, free: 2.574 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002358/1.751, allocations: 1.974 MB / 1.465 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002242/1.753, allocations: 1.171 MB / 1.466 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.753, allocations: 0 / 1.466 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/1.755, allocations: 0.8376 MB / 1.467 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/1.756, allocations: 167.8 kB / 1.467 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/1.759, allocations: 1.107 MB / 1.468 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000855/1.76, allocations: 1.034 MB / 1.469 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005414/1.76, allocations: 109.4 kB / 1.469 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/1.761, allocations: 246.8 kB / 1.469 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of SimCode: time 1.353e-06/1.761, allocations: 4 kB / 1.469 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05172/1.812, allocations: 14.6 MB / 1.484 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/1.813, allocations: 161.9 kB / 1.484 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.777/4.589, allocations: 0 / 1.484 GB, free: 13.95 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat does not exist to compare? outputFormat=mat