Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.494/2.494, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001232/0.001232, allocations: 185 kB / 498.1 MB, free: 5.777 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.571/1.571, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.001124/0.001124, allocations: 98.41 kB / 0.9346 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003556, allocations: 12.98 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2874, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2029/0.4903, allocations: 175.9 MB / 1.395 GB, free: 2.074 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.4907, allocations: 95.94 kB / 1.395 GB, free: 1.98 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7465/1.237, allocations: 56.16 MB / 1.45 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.444e-06/1.237, allocations: 0 / 1.45 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.635e-05/1.237, allocations: 20.59 kB / 1.45 GB, free: 183.1 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002587/1.24, allocations: 0.9624 MB / 1.451 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/1.24, allocations: 9.062 kB / 1.451 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003415/1.24, allocations: 113.5 kB / 1.451 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/1.242, allocations: 232.2 kB / 1.451 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/1.244, allocations: 0.5389 MB / 1.452 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.563e-05/1.244, allocations: 48.64 kB / 1.452 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/1.244, allocations: 66.27 kB / 1.452 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/1.246, allocations: 1.087 MB / 1.453 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/1.246, allocations: 10.38 kB / 1.453 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.211e-05/1.246, allocations: 32.88 kB / 1.453 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.832e-05/1.246, allocations: 56.14 kB / 1.453 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/1.247, allocations: 0.6904 MB / 1.453 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005251/1.253, allocations: 5.776 MB / 1.459 GB, free: 177 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/1.254, allocations: 0.595 MB / 1.46 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/1.254, allocations: 4.281 kB / 1.46 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/1.254, allocations: 37.44 kB / 1.46 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=41): time 3.737e-06/1.254, allocations: 0 / 1.46 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=42): time 0.004707/1.259, allocations: 1.911 MB / 1.462 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/1.259, allocations: 62.41 kB / 1.462 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00047/1.259, allocations: 399 kB / 1.462 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/1.259, allocations: 29.7 kB / 1.462 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/1.259, allocations: 377.8 kB / 1.462 GB, free: 175 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/1.259, allocations: 158.4 kB / 1.463 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/1.259, allocations: 15.78 kB / 1.463 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.553e-05/1.26, allocations: 364.7 kB / 1.463 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/1.26, allocations: 228.9 kB / 1.463 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/1.26, allocations: 419.6 kB / 1.464 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/1.261, allocations: 288.2 kB / 1.464 GB, free: 174 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.261, allocations: 0 / 1.464 GB, free: 174 MB / 0.9167 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001537/1.262, allocations: 0.9575 MB / 1.465 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/1.262, allocations: 7.625 kB / 1.465 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.262, allocations: 5.5 kB / 1.465 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008539/1.263, allocations: 275.2 kB / 1.465 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/1.263, allocations: 99.75 kB / 1.465 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005191/1.269, allocations: 6.757 MB / 1.472 GB, free: 167.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/1.269, allocations: 34.53 kB / 1.472 GB, free: 167.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/1.269, allocations: 26.94 kB / 1.472 GB, free: 167.6 MB / 0.9167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 47 * 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,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000425/1.27, allocations: 233.5 kB / 1.472 GB, free: 167.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/1.27, allocations: 59 kB / 1.472 GB, free: 167.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/1.271, allocations: 0.8318 MB / 1.473 GB, free: 167.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.271, allocations: 3.094 kB / 1.473 GB, free: 167.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/1.271, allocations: 3.969 kB / 1.473 GB, free: 167.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.271, allocations: 3.703 kB / 1.473 GB, free: 167.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/1.274, allocations: 1.729 MB / 1.475 GB, free: 166.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.274, allocations: 3.5 kB / 1.475 GB, free: 166.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/1.274, allocations: 57.56 kB / 1.475 GB, free: 166.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007568/1.275, allocations: 249.8 kB / 1.475 GB, free: 166 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/1.275, allocations: 8.125 kB / 1.475 GB, free: 166 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004512/1.28, allocations: 6.46 MB / 1.481 GB, free: 160.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/1.28, allocations: 4 kB / 1.481 GB, free: 160.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/1.281, allocations: 0.9814 MB / 1.482 GB, free: 159.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/1.281, allocations: 175.8 kB / 1.482 GB, free: 159.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/1.281, allocations: 7.375 kB / 1.482 GB, free: 159.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/1.282, allocations: 19.14 kB / 1.482 GB, free: 159.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/1.282, allocations: 40.25 kB / 1.482 GB, free: 159.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/1.282, allocations: 19.5 kB / 1.482 GB, free: 159.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003388/1.282, allocations: 308.9 kB / 1.483 GB, free: 159.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.01e-07/1.282, allocations: 0 / 1.483 GB, free: 159.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001001/1.283, allocations: 192.4 kB / 1.483 GB, free: 159.3 MB / 0.9167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * 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,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001645/1.285, allocations: 1.942 MB / 1.485 GB, free: 157.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001559/1.287, allocations: 1.129 MB / 1.486 GB, free: 157.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.287, allocations: 0 / 1.486 GB, free: 157.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009072/1.287, allocations: 0.7928 MB / 1.487 GB, free: 156.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008581/1.288, allocations: 184.8 kB / 1.487 GB, free: 156.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006183/1.295, allocations: 7.81 MB / 1.494 GB, free: 150.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/1.295, allocations: 1.01 MB / 1.495 GB, free: 149.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003579/1.295, allocations: 103.6 kB / 1.496 GB, free: 149.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/1.296, allocations: 232.4 kB / 1.496 GB, free: 149.5 MB / 0.9167 GB Notification: Performance of SimCode: time 1.543e-06/1.296, allocations: 0 / 1.496 GB, free: 149.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/1.326, allocations: 14.08 MB / 1.51 GB, free: 137.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/1.326, allocations: 223.9 kB / 1.51 GB, free: 137.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/3.696, allocations: 0 / 1.51 GB, free: 137.4 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat