Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.705/1.705, allocations: 288.2 MB / 303.2 MB, free: 8.148 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.001321/0.001321, allocations: 186.5 kB / 371.8 MB, free: 10.27 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.875/1.875, allocations: 205.4 MB / 0.6305 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 99.67 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004385/0.0004383, allocations: 15.28 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2491, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8203/1.069, allocations: 207.1 MB / 1.182 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/1.07, allocations: 106.2 kB / 1.182 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.2276/1.297, allocations: 84.71 MB / 1.265 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.834e-06/1.297, allocations: 0 / 1.265 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002005/1.298, allocations: 43.92 kB / 1.265 GB, free: 14.16 MB / 0.7917 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.005321/1.303, allocations: 1.823 MB / 1.266 GB, free: 12.28 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.303, allocations: 15.95 kB / 1.266 GB, free: 12.26 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007628/1.304, allocations: 202.2 kB / 1.267 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/1.316, allocations: 1.878 MB / 1.268 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004941/1.321, allocations: 1.228 MB / 1.27 GB, free: 8.887 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/1.321, allocations: 90.36 kB / 1.27 GB, free: 8.797 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007279/1.322, allocations: 112 kB / 1.27 GB, free: 8.688 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007828/1.33, allocations: 2.74 MB / 1.272 GB, free: 5.762 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.516e-05/1.33, allocations: 11.84 kB / 1.272 GB, free: 5.75 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004042/1.33, allocations: 55.98 kB / 1.273 GB, free: 5.695 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/1.33, allocations: 82.3 kB / 1.273 GB, free: 5.613 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008215/1.338, allocations: 2.854 MB / 1.275 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01811/1.357, allocations: 10.72 MB / 1.286 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006903/1.364, allocations: 2.589 MB / 1.288 GB, free: 4.797 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/1.364, allocations: 16.98 kB / 1.288 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/1.364, allocations: 47.45 kB / 1.288 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 3.216e-06/1.364, allocations: 0 / 1.288 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of matching and sorting (n=131): time 0.04971/1.414, allocations: 14 MB / 1.302 GB, free: 6.508 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/1.414, allocations: 218.9 kB / 1.302 GB, free: 6.246 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/1.415, allocations: 0.9697 MB / 1.303 GB, free: 5.266 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002068/1.416, allocations: 49.7 kB / 1.303 GB, free: 5.211 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005242/1.416, allocations: 0.708 MB / 1.304 GB, free: 4.496 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005017/1.417, allocations: 449.4 kB / 1.304 GB, free: 4.051 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/1.417, allocations: 28 kB / 1.304 GB, free: 4.023 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001818/1.417, allocations: 357.9 kB / 1.305 GB, free: 3.668 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003375/1.42, allocations: 1.365 MB / 1.306 GB, free: 2.301 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00359/1.424, allocations: 1.634 MB / 1.308 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/1.428, allocations: 1.466 MB / 1.309 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.428, allocations: 0 / 1.309 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.01276/1.44, allocations: 4.555 MB / 1.314 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/1.44, allocations: 13.81 kB / 1.314 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.44, allocations: 8 kB / 1.314 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006968/1.447, allocations: 1.615 MB / 1.315 GB, free: 8.816 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/1.45, allocations: 439.3 kB / 1.316 GB, free: 8.387 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02631/1.476, allocations: 25.32 MB / 1.34 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/1.479, allocations: 323.5 kB / 1.341 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003572/1.479, allocations: 63.97 kB / 1.341 GB, free: 12.95 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 () * 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.001489/1.481, allocations: 437.5 kB / 1.341 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007398/1.481, allocations: 166.1 kB / 1.341 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/1.495, allocations: 4.586 MB / 1.346 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/1.495, allocations: 12 kB / 1.346 GB, free: 7.699 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.553e-05/1.495, allocations: 16 kB / 1.346 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.737e-05/1.495, allocations: 11.92 kB / 1.346 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01908/1.514, allocations: 7.024 MB / 1.353 GB, free: 488 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/1.514, allocations: 4 kB / 1.353 GB, free: 484 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/1.516, allocations: 387.3 kB / 1.353 GB, free: 96 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006706/1.523, allocations: 1.506 MB / 1.355 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003231/1.523, allocations: 43.86 kB / 1.355 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02734/1.55, allocations: 24.36 MB / 1.378 GB, free: 4.414 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.55, allocations: 4 kB / 1.378 GB, free: 4.41 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/1.562, allocations: 4.52 MB / 1.383 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/1.564, allocations: 467 kB / 1.383 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004831/1.564, allocations: 28 kB / 1.383 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/1.567, allocations: 323.9 kB / 1.384 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004474/1.567, allocations: 124.8 kB / 1.384 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/1.567, allocations: 51.92 kB / 1.384 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001302/1.569, allocations: 0.7526 MB / 1.384 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.8e-07/1.569, allocations: 0 / 1.384 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002575/1.571, allocations: 0.6016 MB / 1.385 GB, free: 13.36 MB / 0.9167 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.01205/1.583, allocations: 5.857 MB / 1.391 GB, free: 7.355 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01095/1.594, allocations: 5.173 MB / 1.396 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.594, allocations: 0 / 1.396 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.007421/1.602, allocations: 3.573 MB / 1.399 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/1.605, allocations: 0.4886 MB / 1.4 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03529/1.64, allocations: 18.44 MB / 1.418 GB, free: 10.82 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001859/1.642, allocations: 1.512 MB / 1.419 GB, free: 9.277 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002269/1.644, allocations: 429.4 kB / 1.42 GB, free: 8.852 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/1.645, allocations: 0.6281 MB / 1.42 GB, free: 8.223 MB / 0.948 GB Notification: Performance of SimCode: time 1.884e-06/1.645, allocations: 0 / 1.42 GB, free: 8.223 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5695/2.215, allocations: 51.31 MB / 1.47 GB, free: 288.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/2.215, allocations: 239.7 kB / 1.471 GB, free: 288.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.481/5.696, allocations: 7.844 kB / 1.471 GB, free: 288.3 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)