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.795/1.795, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001484/0.001484, allocations: 193 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.4 MB / 0.6366 GB, free: 8.547 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.001084/0.001084, allocations: 91.7 kB / 0.7509 GB, free: 63.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003372, allocations: 8 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.28, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8236/1.104, allocations: 208 MB / 1.192 GB, free: 6.242 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/1.104, allocations: 103.9 kB / 1.192 GB, free: 6.141 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.2085/1.313, allocations: 84.72 MB / 1.274 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.314e-06/1.313, allocations: 0 / 1.274 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001096/1.313, allocations: 47.92 kB / 1.274 GB, free: 0.6641 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.003764/1.316, allocations: 1.821 MB / 1.276 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/1.317, allocations: 12.02 kB / 1.276 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000282/1.317, allocations: 198.2 kB / 1.276 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/1.327, allocations: 1.875 MB / 1.278 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/1.331, allocations: 1.238 MB / 1.279 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-05/1.331, allocations: 86.36 kB / 1.28 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/1.331, allocations: 120 kB / 1.28 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006283/1.338, allocations: 2.736 MB / 1.282 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.737e-05/1.338, allocations: 11.84 kB / 1.282 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001895/1.338, allocations: 55.98 kB / 1.282 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/1.338, allocations: 82.3 kB / 1.282 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007806/1.346, allocations: 2.854 MB / 1.285 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01717/1.363, allocations: 10.73 MB / 1.296 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006689/1.37, allocations: 2.587 MB / 1.298 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.141e-05/1.37, allocations: 13 kB / 1.298 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/1.37, allocations: 47.45 kB / 1.298 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=89): time 3.116e-06/1.37, allocations: 0 / 1.298 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of matching and sorting (n=131): time 0.04764/1.418, allocations: 14 MB / 1.312 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/1.418, allocations: 218.9 kB / 1.312 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/1.419, allocations: 0.9735 MB / 1.313 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002095/1.42, allocations: 49.7 kB / 1.313 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000503/1.42, allocations: 0.708 MB / 1.314 GB, free: 7.016 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004326/1.42, allocations: 449.4 kB / 1.314 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/1.421, allocations: 28 kB / 1.314 GB, free: 6.543 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.421, allocations: 357.9 kB / 1.315 GB, free: 6.188 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003206/1.424, allocations: 1.365 MB / 1.316 GB, free: 4.824 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003344/1.427, allocations: 1.634 MB / 1.318 GB, free: 3.086 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/1.431, allocations: 1.462 MB / 1.319 GB, free: 1.625 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.431, allocations: 0 / 1.319 GB, free: 1.625 MB / 0.8855 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.01212/1.443, allocations: 4.559 MB / 1.324 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/1.443, allocations: 8 kB / 1.324 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/1.443, allocations: 8 kB / 1.324 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006783/1.45, allocations: 1.611 MB / 1.325 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/1.452, allocations: 439.2 kB / 1.326 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0277/1.479, allocations: 25.32 MB / 1.35 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002756/1.482, allocations: 319.5 kB / 1.351 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/1.483, allocations: 63.97 kB / 1.351 GB, free: 15.48 MB / 0.9323 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 (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.001043/1.484, allocations: 433.5 kB / 1.351 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004087/1.484, allocations: 170 kB / 1.351 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/1.496, allocations: 4.59 MB / 1.356 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/1.496, allocations: 12 kB / 1.356 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-05/1.496, allocations: 16 kB / 1.356 GB, free: 10.21 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/1.496, allocations: 11.92 kB / 1.356 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01687/1.513, allocations: 7.017 MB / 1.363 GB, free: 3.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/1.513, allocations: 4 kB / 1.363 GB, free: 3.016 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/1.515, allocations: 391.6 kB / 1.363 GB, free: 2.633 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006156/1.522, allocations: 1.513 MB / 1.364 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002334/1.522, allocations: 43.91 kB / 1.364 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5542/2.076, allocations: 24.34 MB / 1.388 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/2.076, allocations: 5 kB / 1.388 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/2.089, allocations: 4.509 MB / 1.393 GB, free: 202.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001697/2.09, allocations: 484.6 kB / 1.393 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003046/2.091, allocations: 25.97 kB / 1.393 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/2.093, allocations: 321 kB / 1.393 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005753/2.093, allocations: 125.2 kB / 1.394 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/2.094, allocations: 54.16 kB / 1.394 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00129/2.095, allocations: 0.7493 MB / 1.394 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.91e-07/2.095, allocations: 0 / 1.394 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002732/2.098, allocations: 0.6029 MB / 1.395 GB, free: 202.7 MB / 0.9323 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 () * Number of clocked 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.0135/2.111, allocations: 5.858 MB / 1.401 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01186/2.123, allocations: 5.183 MB / 1.406 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/2.123, allocations: 3.156 kB / 1.406 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.006791/2.13, allocations: 3.556 MB / 1.409 GB, free: 197.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/2.133, allocations: 0.4926 MB / 1.41 GB, free: 197.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03099/2.164, allocations: 18.44 MB / 1.428 GB, free: 190.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/2.165, allocations: 1.512 MB / 1.429 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002106/2.167, allocations: 422.5 kB / 1.43 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008398/2.168, allocations: 0.6289 MB / 1.43 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of SimCode: time 1.232e-06/2.168, allocations: 0 / 1.43 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/2.271, allocations: 51.32 MB / 1.48 GB, free: 187.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003253/2.271, allocations: 216.1 kB / 1.48 GB, free: 187 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.874/6.145, allocations: 0 / 1.48 GB, free: 187 MB / 0.9323 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)