Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009939/0.0009939, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 292.5 MB / 0.5497 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005622/0.0005623, allocations: 17.78 kB / 0.6736 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2598, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01377/0.2736, allocations: 12.48 MB / 0.7993 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01253/0.2862, allocations: 9.427 MB / 0.8085 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.2877, allocations: 47.62 kB / 0.8086 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008839/0.2886, allocations: 270.2 kB / 0.8088 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00404/0.2927, allocations: 1.457 MB / 0.8102 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.2941, allocations: 0.5247 MB / 0.8108 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00261/0.2967, allocations: 1.756 MB / 0.8125 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002779/0.2995, allocations: 1.793 MB / 0.8142 GB, free: 96 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.3014, allocations: 1.204 MB / 0.8154 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.3029, allocations: 0.8522 MB / 0.8162 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.303, allocations: 68 kB / 0.8163 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009959/0.304, allocations: 387.5 kB / 0.8167 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000408/0.3045, allocations: 462.5 kB / 0.8171 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003324/0.3048, allocations: 352.8 kB / 0.8174 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001967/0.3068, allocations: 2.077 MB / 0.8195 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3068, allocations: 0 / 0.8195 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3068, allocations: 0 / 0.8195 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.208e-05/0.3068, allocations: 0 / 0.8195 GB, free: 10.7 MB / 0.6387 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.003066/0.3099, allocations: 1.843 MB / 0.8213 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.31, allocations: 12.03 kB / 0.8213 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.3208, allocations: 2.186 MB / 0.8234 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002785/0.3236, allocations: 1.163 MB / 0.8246 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.616e-05/0.3237, allocations: 94.3 kB / 0.8246 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002483/0.324, allocations: 116 kB / 0.8248 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005648/0.3297, allocations: 2.678 MB / 0.8274 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-05/0.3297, allocations: 7.938 kB / 0.8274 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/0.3299, allocations: 51.98 kB / 0.8274 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006427/0.3305, allocations: 194.1 kB / 0.8276 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007436/0.338, allocations: 2.834 MB / 0.8304 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01455/0.3525, allocations: 10.57 MB / 0.8407 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006345/0.3589, allocations: 2.383 MB / 0.843 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.979e-05/0.359, allocations: 13 kB / 0.843 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.359, allocations: 43.56 kB / 0.8431 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=89): time 2.415e-06/0.359, allocations: 3.938 kB / 0.8431 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of matching and sorting (n=153): time 0.05707/0.4161, allocations: 16.49 MB / 0.8592 GB, free: 0.957 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.4162, allocations: 64.72 kB / 0.8593 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.418, allocations: 1.156 MB / 0.8604 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002383/0.4182, allocations: 53.7 kB / 0.8604 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005755/0.4188, allocations: 0.7514 MB / 0.8612 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006263/0.4194, allocations: 0.5082 MB / 0.8617 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.4196, allocations: 36 kB / 0.8617 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002399/0.4198, allocations: 361.9 kB / 0.8621 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003595/0.4234, allocations: 1.526 MB / 0.8635 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003722/0.4271, allocations: 1.784 MB / 0.8653 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00369/0.4309, allocations: 1.65 MB / 0.8669 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.4309, allocations: 4 kB / 0.8669 GB, free: 8.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01383/0.4447, allocations: 5.292 MB / 0.8721 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.4448, allocations: 11.94 kB / 0.8721 GB, free: 3.586 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.4448, allocations: 7.984 kB / 0.8721 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006797/0.4516, allocations: 1.89 MB / 0.8739 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/0.4537, allocations: 427.2 kB / 0.8743 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03033/0.484, allocations: 22.85 MB / 0.8967 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002945/0.487, allocations: 323.5 kB / 0.897 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003902/0.4874, allocations: 71.95 kB / 0.897 GB, free: 8.953 MB / 0.7169 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001298/0.4887, allocations: 469.4 kB / 0.8975 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004681/0.4892, allocations: 173.9 kB / 0.8976 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01349/0.5027, allocations: 5.351 MB / 0.9029 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.5027, allocations: 12 kB / 0.9029 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-05/0.5028, allocations: 20 kB / 0.9029 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.5028, allocations: 7.969 kB / 0.9029 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/0.52, allocations: 7.446 MB / 0.9102 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/0.52, allocations: 4 kB / 0.9102 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/0.5218, allocations: 367.7 kB / 0.9105 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006135/0.5279, allocations: 1.703 MB / 0.9122 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002409/0.5282, allocations: 35.97 kB / 0.9122 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5116/1.04, allocations: 22.05 MB / 0.9338 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.04, allocations: 5 kB / 0.9338 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/1.052, allocations: 5.064 MB / 0.9387 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/1.053, allocations: 0.492 MB / 0.9392 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002596/1.053, allocations: 27.88 kB / 0.9392 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002158/1.055, allocations: 328.6 kB / 0.9395 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005777/1.056, allocations: 146.3 kB / 0.9397 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.056, allocations: 54.69 kB / 0.9397 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001045/1.057, allocations: 0.7826 MB / 0.9405 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.61e-07/1.057, allocations: 6.656 kB / 0.9405 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002191/1.059, allocations: 0.6556 MB / 0.9411 GB, free: 116.9 MB / 0.7325 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000297/1.06, allocations: 138.9 kB / 0.9413 GB, free: 116.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01235/1.072, allocations: 5.184 MB / 0.9463 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.072, allocations: 2.25 kB / 0.9463 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006725/1.079, allocations: 3.369 MB / 0.9496 GB, free: 112.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/1.081, allocations: 498.1 kB / 0.9501 GB, free: 112.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008135/1.089, allocations: 4.854 MB / 0.9548 GB, free: 110.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/1.09, allocations: 1.603 MB / 0.9564 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001594/1.092, allocations: 385.2 kB / 0.9568 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/1.092, allocations: 105.3 kB / 0.9569 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.202e-06/1.092, allocations: 2.812 kB / 0.9569 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.05614/1.149, allocations: 41.43 MB / 0.9973 GB, free: 79 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) Environment - environmentSimulation: