Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009624/0.0009631, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008822/0.008822, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.774/1.774, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005897/0.0005898, allocations: 15.25 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2922, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03408/0.3264, allocations: 31.43 MB / 0.8186 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01698/0.3434, allocations: 10.28 MB / 0.8286 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002945/0.3464, allocations: 127.2 kB / 0.8287 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002042/0.3484, allocations: 0.6279 MB / 0.8294 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005675/0.3541, allocations: 1.735 MB / 0.8311 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005644/0.3598, allocations: 1.768 MB / 0.8328 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01326/0.3731, allocations: 10.58 MB / 0.8431 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02085/0.394, allocations: 12.06 MB / 0.8549 GB, free: 6.668 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005119/0.3991, allocations: 2.236 MB / 0.8571 GB, free: 4.422 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006219/0.4054, allocations: 2.962 MB / 0.86 GB, free: 1.449 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001122/0.4066, allocations: 272 kB / 0.8602 GB, free: 1.184 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004757/0.4113, allocations: 1.696 MB / 0.8619 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003304/0.4147, allocations: 2.05 MB / 0.8639 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004395/0.4191, allocations: 2.345 MB / 0.8662 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01279/0.4319, allocations: 9.652 MB / 0.8756 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.4319, allocations: 0 / 0.8756 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4319, allocations: 7.875 kB / 0.8756 GB, free: 1.375 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003598/0.4323, allocations: 0 / 0.8756 GB, free: 1.375 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01073/0.443, allocations: 4.019 MB / 0.8795 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.4431, allocations: 12.03 kB / 0.8795 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006868/0.45, allocations: 0.9552 MB / 0.8805 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006798/0.4568, allocations: 2.859 MB / 0.8833 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003089/0.4572, allocations: 353.7 kB / 0.8836 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001472/0.4586, allocations: 460.2 kB / 0.884 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01586/0.4745, allocations: 7.667 MB / 0.8915 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001558/0.4747, allocations: 19.78 kB / 0.8916 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005723/0.4753, allocations: 200 kB / 0.8917 GB, free: 372 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003763/0.4757, allocations: 320.9 kB / 0.892 GB, free: 48 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01188/0.4876, allocations: 5.702 MB / 0.8976 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5377/1.025, allocations: 35.14 MB / 0.9319 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003158/1.028, allocations: 2.152 MB / 0.934 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/1.03, allocations: 1.269 MB / 0.9353 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/1.03, allocations: 12.97 kB / 0.9353 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/1.03, allocations: 52.27 kB / 0.9353 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 3.737e-06/1.03, allocations: 4 kB / 0.9353 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01441/1.045, allocations: 7.12 MB / 0.9423 GB, free: 105.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/1.045, allocations: 65.52 kB / 0.9424 GB, free: 105.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/1.047, allocations: 1.484 MB / 0.9438 GB, free: 104.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001827/1.048, allocations: 46.75 kB / 0.9438 GB, free: 104.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001431/1.049, allocations: 2.004 MB / 0.9458 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00054/1.049, allocations: 490.7 kB / 0.9463 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003202/1.05, allocations: 150.2 kB / 0.9464 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.3e-05/1.05, allocations: 301.7 kB / 0.9467 GB, free: 102.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/1.052, allocations: 0.9115 MB / 0.9476 GB, free: 102 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/1.053, allocations: 1.6 MB / 0.9492 GB, free: 100.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004008/1.057, allocations: 2.735 MB / 0.9518 GB, free: 98.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.737e-05/1.057, allocations: 7.719 kB / 0.9518 GB, free: 98.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007252/1.065, allocations: 3.533 MB / 0.9553 GB, free: 97.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/1.065, allocations: 18.62 kB / 0.9553 GB, free: 97.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.281e-05/1.065, allocations: 23.09 kB / 0.9553 GB, free: 97.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/1.067, allocations: 0.8984 MB / 0.9562 GB, free: 97.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/1.069, allocations: 357 kB / 0.9565 GB, free: 97.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/1.085, allocations: 21.23 MB / 0.9773 GB, free: 78.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/1.087, allocations: 107.8 kB / 0.9774 GB, free: 78.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/1.087, allocations: 85.59 kB / 0.9775 GB, free: 78.86 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003187/1.09, allocations: 1.612 MB / 0.979 GB, free: 78.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004533/1.091, allocations: 204.5 kB / 0.9792 GB, free: 78.04 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004716/1.096, allocations: 2.99 MB / 0.9822 GB, free: 76.56 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/1.096, allocations: 17.19 kB / 0.9822 GB, free: 76.55 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/1.096, allocations: 10.16 kB / 0.9822 GB, free: 76.55 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.096, allocations: 7.969 kB / 0.9822 GB, free: 76.55 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/1.106, allocations: 7.329 MB / 0.9893 GB, free: 71.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/1.106, allocations: 8.188 kB / 0.9893 GB, free: 71.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007338/1.107, allocations: 181.5 kB / 0.9895 GB, free: 71.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00217/1.109, allocations: 0.8201 MB / 0.9903 GB, free: 71.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-05/1.109, allocations: 35.56 kB / 0.9904 GB, free: 71.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/1.123, allocations: 20.32 MB / 1.01 GB, free: 52.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.123, allocations: 7.562 kB / 1.01 GB, free: 52.44 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004709/1.128, allocations: 3.025 MB / 1.013 GB, free: 50.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009068/1.129, allocations: 466.3 kB / 1.014 GB, free: 50.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/1.129, allocations: 31.17 kB / 1.014 GB, free: 50.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007618/1.13, allocations: 73.67 kB / 1.014 GB, free: 50.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003397/1.13, allocations: 121.4 kB / 1.014 GB, free: 50.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/1.13, allocations: 38.98 kB / 1.014 GB, free: 50.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001095/1.131, allocations: 0.9777 MB / 1.015 GB, free: 49.53 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.131, allocations: 0 / 1.015 GB, free: 49.53 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00286/1.134, allocations: 0.7837 MB / 1.016 GB, free: 49.21 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002368/1.134, allocations: 143.1 kB / 1.016 GB, free: 49.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004821/1.139, allocations: 4.025 MB / 1.02 GB, free: 44.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/1.139, allocations: 6.953 kB / 1.02 GB, free: 44.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002961/1.142, allocations: 2.741 MB / 1.022 GB, free: 42 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004143/1.146, allocations: 0.6738 MB / 1.023 GB, free: 41.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/1.157, allocations: 9.164 MB / 1.032 GB, free: 32.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002639/1.16, allocations: 3.108 MB / 1.035 GB, free: 28.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0014/1.161, allocations: 457.9 kB / 1.035 GB, free: 28.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/1.162, allocations: 115.4 kB / 1.036 GB, free: 28.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/1.162, allocations: 0 / 1.036 GB, free: 28.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.0514/1.213, allocations: 34.14 MB / 1.069 GB, free: 10.67 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: