Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.713/1.713, allocations: 289.7 MB / 302.2 MB, free: 2.188 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.001808/0.001808, allocations: 181.3 kB / 371.6 MB, free: 3.371 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.831/1.831, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.001172/0.001172, allocations: 94.58 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.049e-05/4.051e-05, allocations: 0 / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.313, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8259/1.139, allocations: 165.3 MB / 1.141 GB, free: 25.86 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/1.139, allocations: 91.23 kB / 1.141 GB, free: 25.83 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.08571/1.225, allocations: 37.24 MB / 1.178 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.392e-06/1.225, allocations: 0 / 1.178 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.966e-05/1.225, allocations: 23.98 kB / 1.178 GB, free: 1.82 MB / 0.7448 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.001997/1.227, allocations: 0.8745 MB / 1.179 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.227, allocations: 8.031 kB / 1.179 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002576/1.227, allocations: 120.8 kB / 1.179 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/1.229, allocations: 216.5 kB / 1.179 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/1.23, allocations: 0.5461 MB / 1.18 GB, free: 128 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.739e-05/1.23, allocations: 50.06 kB / 1.18 GB, free: 96 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/1.231, allocations: 61.36 kB / 1.18 GB, free: 52 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/1.233, allocations: 1.077 MB / 1.181 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.177e-05/1.233, allocations: 7.938 kB / 1.181 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/1.233, allocations: 41.11 kB / 1.181 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.893e-05/1.233, allocations: 56.84 kB / 1.181 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/1.234, allocations: 0.6757 MB / 1.181 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005859/1.24, allocations: 5.784 MB / 1.187 GB, free: 8.875 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007944/1.241, allocations: 0.5819 MB / 1.188 GB, free: 8.406 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006428/1.241, allocations: 398.8 kB / 1.188 GB, free: 8.129 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/1.241, allocations: 4 kB / 1.188 GB, free: 8.125 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/1.242, allocations: 38.03 kB / 1.188 GB, free: 8.082 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 2.565e-06/1.242, allocations: 4 kB / 1.188 GB, free: 8.078 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.002299/1.244, allocations: 1.209 MB / 1.189 GB, free: 7.145 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/1.244, allocations: 55.41 kB / 1.189 GB, free: 7.078 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004608/1.244, allocations: 396.4 kB / 1.19 GB, free: 6.762 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/1.244, allocations: 33.52 kB / 1.19 GB, free: 6.727 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/1.245, allocations: 384.6 kB / 1.19 GB, free: 6.434 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/1.245, allocations: 151.8 kB / 1.19 GB, free: 6.301 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/1.245, allocations: 18.31 kB / 1.19 GB, free: 6.293 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.245, allocations: 364.1 kB / 1.191 GB, free: 5.949 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/1.245, allocations: 238.8 kB / 1.191 GB, free: 5.801 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/1.246, allocations: 417.8 kB / 1.191 GB, free: 5.402 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/1.246, allocations: 305.8 kB / 1.192 GB, free: 5.195 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.246, allocations: 0 / 1.192 GB, free: 5.195 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001783/1.248, allocations: 1.008 MB / 1.192 GB, free: 4.418 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.248, allocations: 8 kB / 1.192 GB, free: 4.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.248, allocations: 10.19 kB / 1.193 GB, free: 4.402 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009793/1.249, allocations: 320.5 kB / 1.193 GB, free: 4.133 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/1.249, allocations: 86.94 kB / 1.193 GB, free: 4.051 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006696/1.256, allocations: 7.096 MB / 1.2 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/1.256, allocations: 30.8 kB / 1.2 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/1.257, allocations: 23.5 kB / 1.2 GB, free: 13.14 MB / 0.7761 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 (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001427/1.257, allocations: 141.7 kB / 1.2 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/1.257, allocations: 59.25 kB / 1.2 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/1.259, allocations: 0.8884 MB / 1.201 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/1.259, allocations: 11.94 kB / 1.201 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/1.259, allocations: 4 kB / 1.201 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.259, allocations: 3.984 kB / 1.201 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/1.262, allocations: 1.856 MB / 1.203 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.262, allocations: 4.031 kB / 1.203 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/1.262, allocations: 43.91 kB / 1.203 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008758/1.263, allocations: 281.2 kB / 1.203 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/1.263, allocations: 15.17 kB / 1.203 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006389/1.27, allocations: 6.815 MB / 1.21 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.27, allocations: 0 / 1.21 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/1.271, allocations: 1.013 MB / 1.211 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003324/1.272, allocations: 170.9 kB / 1.211 GB, free: 2.707 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-05/1.272, allocations: 7.875 kB / 1.211 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/1.272, allocations: 22.28 kB / 1.211 GB, free: 2.688 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-05/1.272, allocations: 39.45 kB / 1.211 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/1.272, allocations: 15.81 kB / 1.211 GB, free: 2.645 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003529/1.273, allocations: 305.7 kB / 1.211 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.5e-07/1.273, allocations: 0 / 1.211 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009082/1.274, allocations: 194.5 kB / 1.211 GB, free: 2.234 MB / 0.7761 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002013/1.276, allocations: 1.977 MB / 1.213 GB, free: 404 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001762/1.277, allocations: 1.158 MB / 1.215 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.277, allocations: 4 kB / 1.215 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/1.279, allocations: 0.8071 MB / 1.215 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009542/1.28, allocations: 184.2 kB / 1.215 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/1.282, allocations: 1.062 MB / 1.217 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/1.282, allocations: 1.008 MB / 1.218 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000371/1.283, allocations: 100.4 kB / 1.218 GB, free: 12.42 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/1.283, allocations: 227.7 kB / 1.218 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of SimCode: time 6.62e-07/1.283, allocations: 0 / 1.218 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03231/1.315, allocations: 14.12 MB / 1.232 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/1.316, allocations: 190 kB / 1.232 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/3.537, allocations: 8.062 kB / 1.232 GB, free: 14.23 MB / 0.8073 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)