Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.376/1.376, allocations: 251.5 MB / 266.7 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008916/0.0008918, allocations: 170.1 kB / 325.9 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205 MB / 0.576 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006537/0.0006537, allocations: 96.41 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.0002659, allocations: 10 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.148, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.009554/0.1576, allocations: 13.52 MB / 0.9094 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00902/0.1667, allocations: 9.487 MB / 0.9187 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007543/0.1675, allocations: 55.62 kB / 0.9187 GB, free: 44.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.1703, allocations: 1.551 MB / 0.9202 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002441/0.1727, allocations: 1.411 MB / 0.9216 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.1739, allocations: 0.6888 MB / 0.9223 GB, free: 41.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001761/0.1756, allocations: 3.175 MB / 0.9254 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.1768, allocations: 1.34 MB / 0.9267 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006376/0.1775, allocations: 0.883 MB / 0.9276 GB, free: 35.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000777/0.1783, allocations: 1.054 MB / 0.9286 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.1784, allocations: 72 kB / 0.9287 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009733/0.1794, allocations: 0.8655 MB / 0.9295 GB, free: 33.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002851/0.1797, allocations: 0.51 MB / 0.93 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004542/0.1801, allocations: 0.8235 MB / 0.9308 GB, free: 32.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.1816, allocations: 2.662 MB / 0.9334 GB, free: 29.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1816, allocations: 0 / 0.9334 GB, free: 29.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1816, allocations: 0 / 0.9334 GB, free: 29.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.673e-05/0.1816, allocations: 0 / 0.9334 GB, free: 29.8 MB / 0.6042 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.002347/0.184, allocations: 1.817 MB / 0.9352 GB, free: 27.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.184, allocations: 8.031 kB / 0.9352 GB, free: 27.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001643/0.1842, allocations: 198.4 kB / 0.9354 GB, free: 27.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009571/0.1938, allocations: 2.144 MB / 0.9375 GB, free: 25.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.1954, allocations: 1.205 MB / 0.9386 GB, free: 24.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.1954, allocations: 82.73 kB / 0.9387 GB, free: 24.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.1956, allocations: 131.8 kB / 0.9389 GB, free: 24.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004229/0.1999, allocations: 2.698 MB / 0.9415 GB, free: 21.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.1999, allocations: 0 / 0.9415 GB, free: 21.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.2, allocations: 55.98 kB / 0.9415 GB, free: 21.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000463/0.2005, allocations: 182.1 kB / 0.9417 GB, free: 21.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005979/0.2065, allocations: 2.85 MB / 0.9445 GB, free: 18.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/0.2165, allocations: 10.57 MB / 0.9548 GB, free: 7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005562/0.2221, allocations: 2.575 MB / 0.9573 GB, free: 4.359 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002518/0.2246, allocations: 1.299 MB / 0.9586 GB, free: 3.051 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-05/0.2247, allocations: 16.98 kB / 0.9586 GB, free: 3.035 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.2247, allocations: 47.5 kB / 0.9587 GB, free: 2.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=89): time 2.495e-06/0.2247, allocations: 0 / 0.9587 GB, free: 2.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=131): time 0.04081/0.2656, allocations: 13.45 MB / 0.9718 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.2656, allocations: 64.72 kB / 0.9719 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.2669, allocations: 1.121 MB / 0.973 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.267, allocations: 49.7 kB / 0.973 GB, free: 4.047 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/0.2675, allocations: 0.7117 MB / 0.9737 GB, free: 3.328 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003259/0.2678, allocations: 449.4 kB / 0.9741 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.268, allocations: 113.7 kB / 0.9742 GB, free: 2.766 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2681, allocations: 357.9 kB / 0.9746 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003043/0.2712, allocations: 1.366 MB / 0.9759 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003162/0.2743, allocations: 1.624 MB / 0.9775 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006216/0.2806, allocations: 3.037 MB / 0.9805 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2806, allocations: 0 / 0.9805 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01038/0.291, allocations: 4.485 MB / 0.9848 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.291, allocations: 8 kB / 0.9849 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.291, allocations: 8 kB / 0.9849 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004875/0.2959, allocations: 1.432 MB / 0.9863 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.2978, allocations: 451.2 kB / 0.9867 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/0.3204, allocations: 24.58 MB / 1.011 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/0.3227, allocations: 311.5 kB / 1.011 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.3228, allocations: 59.97 kB / 1.011 GB, free: 11.03 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007249/0.3235, allocations: 445.4 kB / 1.011 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.3238, allocations: 162.1 kB / 1.012 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/0.3345, allocations: 4.496 MB / 1.016 GB, free: 5.871 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.3345, allocations: 12 kB / 1.016 GB, free: 5.859 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.3345, allocations: 12 kB / 1.016 GB, free: 5.848 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.3345, allocations: 7.969 kB / 1.016 GB, free: 5.84 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/0.3479, allocations: 6.821 MB / 1.023 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.3479, allocations: 3.938 kB / 1.023 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/0.3495, allocations: 387.7 kB / 1.023 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004362/0.3539, allocations: 1.31 MB / 1.024 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.354, allocations: 39.95 kB / 1.024 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02019/0.3742, allocations: 23.51 MB / 1.047 GB, free: 3.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3742, allocations: 4 kB / 1.047 GB, free: 3.816 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3072/0.6815, allocations: 4.248 MB / 1.052 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009001/0.6824, allocations: 454.2 kB / 1.052 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.6826, allocations: 29.08 kB / 1.052 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/0.6844, allocations: 320.2 kB / 1.052 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000363/0.6848, allocations: 125.7 kB / 1.052 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.6849, allocations: 50.17 kB / 1.052 GB, free: 140 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000782/0.6857, allocations: 0.7501 MB / 1.053 GB, free: 139.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6857, allocations: 0 / 1.053 GB, free: 139.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001504/0.6872, allocations: 0.5678 MB / 1.054 GB, free: 139.9 MB / 0.698 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 (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009924/0.6972, allocations: 4.844 MB / 1.058 GB, free: 139 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009852/0.707, allocations: 5.151 MB / 1.063 GB, free: 137.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.7071, allocations: 4.625 kB / 1.064 GB, free: 137.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005843/0.7129, allocations: 3.501 MB / 1.067 GB, free: 136 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.7154, allocations: 0.5087 MB / 1.067 GB, free: 136 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03502/0.7504, allocations: 21.05 MB / 1.088 GB, free: 128.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000795/0.7512, allocations: 1.472 MB / 1.089 GB, free: 127.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001517/0.7527, allocations: 432.3 kB / 1.09 GB, free: 127.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006732/0.7534, allocations: 0.6239 MB / 1.09 GB, free: 127 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/0.7534, allocations: 0 / 1.09 GB, free: 127 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.714/1.467, allocations: 49.06 MB / 1.138 GB, free: 80.36 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/1.468, allocations: 252.9 kB / 1.139 GB, free: 80.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.558/5.026, allocations: 0 / 1.139 GB, free: 80.11 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)