Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.964/1.964, allocations: 289.7 MB / 302.3 MB, free: 2.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 180.7 kB / 371.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008668/0.0008667, allocations: 92.61 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.708e-05/3.722e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2487, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.745/0.9937, allocations: 207.9 MB / 1.183 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.9941, allocations: 101 kB / 1.183 GB, free: 7.625 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.217/1.211, allocations: 84.32 MB / 1.265 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.412e-06/1.211, allocations: 0 / 1.265 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001881/1.211, allocations: 47.92 kB / 1.265 GB, free: 14.01 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004386/1.216, allocations: 1.582 MB / 1.267 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/1.216, allocations: 12.03 kB / 1.267 GB, free: 12.37 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006722/1.216, allocations: 190.2 kB / 1.267 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/1.229, allocations: 1.889 MB / 1.269 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003285/1.232, allocations: 1.212 MB / 1.27 GB, free: 9.012 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-05/1.232, allocations: 86.36 kB / 1.27 GB, free: 8.926 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003347/1.233, allocations: 119.9 kB / 1.27 GB, free: 8.809 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003746/1.236, allocations: 2.243 MB / 1.273 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.147e-05/1.236, allocations: 7.938 kB / 1.273 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/1.237, allocations: 55.98 kB / 1.273 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/1.237, allocations: 86.28 kB / 1.273 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003079/1.24, allocations: 1.867 MB / 1.275 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01606/1.256, allocations: 10.71 MB / 1.285 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/1.259, allocations: 1.7 MB / 1.287 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/1.26, allocations: 0.904 MB / 1.288 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.917e-05/1.26, allocations: 8.781 kB / 1.288 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/1.26, allocations: 51.28 kB / 1.288 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 3.576e-06/1.26, allocations: 0 / 1.288 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.0355/1.296, allocations: 9.963 MB / 1.297 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/1.296, allocations: 218.9 kB / 1.298 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/1.297, allocations: 0.9561 MB / 1.299 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002173/1.297, allocations: 49.7 kB / 1.299 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005704/1.298, allocations: 0.7118 MB / 1.299 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004681/1.299, allocations: 441.5 kB / 1.3 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/1.299, allocations: 28 kB / 1.3 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.299, allocations: 357.9 kB / 1.3 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/1.3, allocations: 0.9592 MB / 1.301 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/1.302, allocations: 1.209 MB / 1.302 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/1.304, allocations: 1.067 MB / 1.303 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.304, allocations: 0 / 1.303 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.008754/1.312, allocations: 3.733 MB / 1.307 GB, free: 2.395 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/1.313, allocations: 8 kB / 1.307 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/1.313, allocations: 4 kB / 1.307 GB, free: 2.383 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006681/1.319, allocations: 1.615 MB / 1.308 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/1.322, allocations: 435.3 kB / 1.309 GB, free: 308 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02678/1.348, allocations: 24.78 MB / 1.333 GB, free: 5.781 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/1.351, allocations: 319.5 kB / 1.333 GB, free: 5.469 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/1.352, allocations: 63.95 kB / 1.333 GB, free: 5.406 MB / 0.9011 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 (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003961/1.352, allocations: 188.7 kB / 1.334 GB, free: 5.215 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/1.352, allocations: 158.1 kB / 1.334 GB, free: 5.059 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008731/1.361, allocations: 3.767 MB / 1.337 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-05/1.361, allocations: 15.95 kB / 1.337 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.888e-05/1.361, allocations: 12 kB / 1.337 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.836e-05/1.361, allocations: 7.969 kB / 1.337 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/1.374, allocations: 6.205 MB / 1.344 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/1.375, allocations: 11.94 kB / 1.344 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/1.376, allocations: 383.4 kB / 1.344 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006185/1.383, allocations: 1.51 MB / 1.345 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/1.383, allocations: 39.97 kB / 1.345 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02588/1.409, allocations: 23.81 MB / 1.369 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.409, allocations: 7.938 kB / 1.369 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008214/1.417, allocations: 3.694 MB / 1.372 GB, free: 11.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/1.418, allocations: 474.9 kB / 1.373 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/1.418, allocations: 24 kB / 1.373 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002174/1.421, allocations: 319.5 kB / 1.373 GB, free: 10.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004428/1.421, allocations: 132.7 kB / 1.373 GB, free: 10.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/1.421, allocations: 48.16 kB / 1.373 GB, free: 10.43 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001118/1.422, allocations: 0.7396 MB / 1.374 GB, free: 9.684 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.422, allocations: 0 / 1.374 GB, free: 9.684 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002185/1.425, allocations: 0.6093 MB / 1.375 GB, free: 9.074 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008615/1.433, allocations: 5.048 MB / 1.379 GB, free: 3.883 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.5322/1.965, allocations: 4.317 MB / 1.384 GB, free: 232.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.965, allocations: 3.156 kB / 1.384 GB, free: 232.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005867/1.971, allocations: 3.117 MB / 1.387 GB, free: 231.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/1.974, allocations: 492.5 kB / 1.387 GB, free: 231.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007378/1.982, allocations: 3.241 MB / 1.39 GB, free: 230.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/1.983, allocations: 1.514 MB / 1.392 GB, free: 229.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002014/1.985, allocations: 424.5 kB / 1.392 GB, free: 229.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008876/1.986, allocations: 0.6262 MB / 1.393 GB, free: 229.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/1.986, allocations: 3.562 kB / 1.393 GB, free: 229.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.132/2.118, allocations: 51.12 MB / 1.443 GB, free: 227.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/2.119, allocations: 181.3 kB / 1.443 GB, free: 227.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.73/5.848, allocations: 0 / 1.443 GB, free: 227.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)