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.422/2.422, allocations: 390.5 MB / 398 MB, free: 10.91 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.001682/0.001682, allocations: 180.7 kB / 491.2 MB, free: 1.543 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.949/1.949, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.000942/0.0009421, allocations: 87.97 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.072e-05/2.087e-05, allocations: 9.078 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2797, allocations: 143 MB / 1.212 GB, free: 39.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9059/1.186, allocations: 203.6 MB / 1.411 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/1.186, allocations: 94.56 kB / 1.411 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.1802/1.366, allocations: 73.32 MB / 1.483 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.364e-06/1.366, allocations: 0 / 1.483 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001768/1.366, allocations: 35.98 kB / 1.483 GB, free: 15.08 MB / 0.9011 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.005089/1.371, allocations: 1.57 MB / 1.484 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/1.371, allocations: 8.031 kB / 1.484 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003346/1.375, allocations: 0.4956 MB / 1.485 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00295/1.378, allocations: 1.149 MB / 1.486 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.882e-05/1.378, allocations: 48 kB / 1.486 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006264/1.379, allocations: 88 kB / 1.486 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00392/1.382, allocations: 1.775 MB / 1.488 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00506/1.388, allocations: 2.215 MB / 1.49 GB, free: 9.246 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.327e-05/1.388, allocations: 7.984 kB / 1.49 GB, free: 9.238 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003509/1.388, allocations: 0 / 1.49 GB, free: 9.238 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001595/1.388, allocations: 85.38 kB / 1.49 GB, free: 9.16 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/1.405, allocations: 10.13 MB / 1.5 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009122/1.405, allocations: 0.5413 MB / 1.501 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005042/1.406, allocations: 364.7 kB / 1.501 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/1.406, allocations: 85.11 kB / 1.501 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/1.406, allocations: 46.48 kB / 1.501 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=36): time 3.165e-06/1.406, allocations: 0 / 1.501 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=52): time 0.008137/1.414, allocations: 3.163 MB / 1.504 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/1.414, allocations: 81.55 kB / 1.504 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/1.415, allocations: 0.7218 MB / 1.505 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.249e-05/1.416, allocations: 25.7 kB / 1.505 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005126/1.416, allocations: 0.7577 MB / 1.506 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/1.416, allocations: 181.4 kB / 1.506 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/1.416, allocations: 0 / 1.506 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.416, allocations: 386.7 kB / 1.506 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000794/1.417, allocations: 0.5765 MB / 1.507 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/1.418, allocations: 0.9376 MB / 1.508 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/1.42, allocations: 0.8334 MB / 1.509 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.42, allocations: 4 kB / 1.509 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.006083/1.426, allocations: 2.578 MB / 1.511 GB, free: 4.172 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001632/1.427, allocations: 4.529 MB / 1.516 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/1.427, allocations: 12 kB / 1.516 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0043/1.432, allocations: 1.096 MB / 1.517 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009352/1.433, allocations: 219.7 kB / 1.517 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007853/1.44, allocations: 6.529 MB / 1.523 GB, free: 7.137 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/1.442, allocations: 151.7 kB / 1.523 GB, free: 6.988 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.442, allocations: 48.05 kB / 1.523 GB, free: 6.941 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/1.442, allocations: 5.562 kB / 1.523 GB, free: 6.938 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002054/1.444, allocations: 1.266 MB / 1.525 GB, free: 5.668 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/1.444, allocations: 12.97 kB / 1.525 GB, free: 5.656 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.444, allocations: 23.94 kB / 1.525 GB, free: 5.633 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000995/1.445, allocations: 287.5 kB / 1.525 GB, free: 5.352 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/1.445, allocations: 23.88 kB / 1.525 GB, free: 5.328 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007672/1.446, allocations: 103.8 kB / 1.525 GB, free: 5.227 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/1.446, allocations: 44 kB / 1.525 GB, free: 5.184 MB / 0.9323 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.0002409/1.446, allocations: 140.6 kB / 1.525 GB, free: 5.039 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005452/1.452, allocations: 2.156 MB / 1.527 GB, free: 2.863 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/1.452, allocations: 79.09 kB / 1.527 GB, free: 2.785 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006066/1.458, allocations: 2.266 MB / 1.53 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/1.458, allocations: 4 kB / 1.53 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.458, allocations: 0 / 1.53 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/1.458, allocations: 7.984 kB / 1.53 GB, free: 496 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008575/1.467, allocations: 3.885 MB / 1.533 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/1.467, allocations: 4 kB / 1.533 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/1.467, allocations: 104.1 kB / 1.534 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004844/1.472, allocations: 1.349 MB / 1.535 GB, free: 11.03 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/1.472, allocations: 11.94 kB / 1.535 GB, free: 11.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/1.483, allocations: 9.104 MB / 1.544 GB, free: 1.445 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.484, allocations: 0 / 1.544 GB, free: 1.445 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005834/1.489, allocations: 2.33 MB / 1.546 GB, free: 15.01 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008346/1.49, allocations: 280.1 kB / 1.546 GB, free: 14.72 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/1.49, allocations: 7.984 kB / 1.546 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009923/1.491, allocations: 155.7 kB / 1.546 GB, free: 14.56 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/1.492, allocations: 51.83 kB / 1.546 GB, free: 14.51 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/1.492, allocations: 20 kB / 1.546 GB, free: 14.49 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0008213/1.493, allocations: 0.5576 MB / 1.547 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.5e-07/1.493, allocations: 0 / 1.547 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002059/1.495, allocations: 0.5546 MB / 1.548 GB, free: 13.38 MB / 0.9636 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.006562/1.501, allocations: 3.539 MB / 1.551 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00401/1.505, allocations: 2.355 MB / 1.553 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.505, allocations: 0 / 1.553 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001961/1.507, allocations: 1.184 MB / 1.554 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/1.509, allocations: 187.8 kB / 1.555 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/1.514, allocations: 2.824 MB / 1.557 GB, free: 3.074 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/1.516, allocations: 1.638 MB / 1.559 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001699/1.518, allocations: 0.58 MB / 1.56 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007196/1.518, allocations: 479.3 kB / 1.56 GB, free: 364 kB / 0.9636 GB Notification: Performance of SimCode: time 1.533e-06/1.518, allocations: 0 / 1.56 GB, free: 364 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05864/1.577, allocations: 29.91 MB / 1.589 GB, free: 2.578 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/1.577, allocations: 176.5 kB / 1.589 GB, free: 2.379 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.693/4.27, allocations: 1.875 kB / 1.589 GB, free: 2.379 MB / 0.9948 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