Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007458/0.0007458, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008386/0.0008387, allocations: 168.7 kB / 15.95 MB, free: 204 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.538/1.538, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.751/1.751, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.000484/0.000484, allocations: 18.56 kB / 0.6737 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2388, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03156/0.2704, allocations: 30.21 MB / 0.8168 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02147/0.2919, allocations: 14.02 MB / 0.8305 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004246/0.2962, allocations: 135.2 kB / 0.8306 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003254/0.2995, allocations: 0.7014 MB / 0.8313 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008816/0.3083, allocations: 2.405 MB / 0.8337 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005228/0.3136, allocations: 1.386 MB / 0.835 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01247/0.3261, allocations: 9.775 MB / 0.8446 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01645/0.3426, allocations: 9.858 MB / 0.8542 GB, free: 7.199 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006871/0.3495, allocations: 2.962 MB / 0.8571 GB, free: 4.227 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006686/0.3562, allocations: 3.379 MB / 0.8604 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.3576, allocations: 296 kB / 0.8607 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003286/0.3609, allocations: 0.8194 MB / 0.8615 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003082/0.364, allocations: 2.276 MB / 0.8637 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002398/0.3664, allocations: 1.132 MB / 0.8648 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01254/0.379, allocations: 9.163 MB / 0.8737 GB, free: 3.117 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.379, allocations: 4 kB / 0.8737 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.904e-06/0.379, allocations: 3.938 kB / 0.8737 GB, free: 3.109 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004154/0.3794, allocations: 0 / 0.8737 GB, free: 3.109 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01276/0.3922, allocations: 4.884 MB / 0.8785 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.3923, allocations: 8.031 kB / 0.8785 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008161/0.4004, allocations: 1.148 MB / 0.8796 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007578/0.408, allocations: 3.232 MB / 0.8828 GB, free: 9.68 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003268/0.4084, allocations: 382 kB / 0.8832 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001655/0.4101, allocations: 491.9 kB / 0.8836 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01753/0.4276, allocations: 7.978 MB / 0.8914 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/0.4278, allocations: 19.78 kB / 0.8914 GB, free: 0.5469 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005834/0.4284, allocations: 219.9 kB / 0.8916 GB, free: 340 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009269/0.4293, allocations: 437.6 kB / 0.8921 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01305/0.4424, allocations: 6.049 MB / 0.898 GB, free: 9.84 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.575/1.017, allocations: 35.2 MB / 0.9323 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/1.02, allocations: 2.016 MB / 0.9343 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002511/1.023, allocations: 1.852 MB / 0.9361 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/1.023, allocations: 20.94 kB / 0.9361 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/1.023, allocations: 53.22 kB / 0.9362 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 3.967e-06/1.023, allocations: 2.906 kB / 0.9362 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1267/1.15, allocations: 38.98 MB / 0.9743 GB, free: 95.28 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/1.15, allocations: 85.58 kB / 0.9743 GB, free: 95.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002815/1.153, allocations: 2.258 MB / 0.9766 GB, free: 92.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003715/1.153, allocations: 73.7 kB / 0.9766 GB, free: 92.83 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001043/1.154, allocations: 2.273 MB / 0.9788 GB, free: 90.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006774/1.155, allocations: 0.9296 MB / 0.9798 GB, free: 89.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/1.155, allocations: 60 kB / 0.9798 GB, free: 89.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.155, allocations: 436 kB / 0.9802 GB, free: 89.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/1.157, allocations: 1.958 MB / 0.9821 GB, free: 87.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/1.16, allocations: 2.591 MB / 0.9847 GB, free: 84.33 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002549/1.162, allocations: 2.372 MB / 0.987 GB, free: 81.94 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/1.162, allocations: 4 kB / 0.987 GB, free: 81.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01149/1.174, allocations: 7.725 MB / 0.9945 GB, free: 74.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/1.174, allocations: 12 kB / 0.9945 GB, free: 74.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/1.174, allocations: 16 kB / 0.9946 GB, free: 74.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007484/1.181, allocations: 3.22 MB / 0.9977 GB, free: 70.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/1.183, allocations: 404 kB / 0.9981 GB, free: 70.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0318/1.215, allocations: 31.08 MB / 1.028 GB, free: 38.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/1.218, allocations: 167.8 kB / 1.029 GB, free: 38.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/1.218, allocations: 104.7 kB / 1.029 GB, free: 38.35 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00303/1.221, allocations: 1.798 MB / 1.03 GB, free: 36.54 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006561/1.222, allocations: 332.1 kB / 1.031 GB, free: 36.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/1.233, allocations: 7.334 MB / 1.038 GB, free: 28.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/1.233, allocations: 24 kB / 1.038 GB, free: 28.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.772e-05/1.233, allocations: 32 kB / 1.038 GB, free: 28.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/1.233, allocations: 19.41 kB / 1.038 GB, free: 28.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01903/1.252, allocations: 12.9 MB / 1.051 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/1.252, allocations: 8 kB / 1.051 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007971/1.253, allocations: 233 kB / 1.051 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006839/1.26, allocations: 2.852 MB / 1.054 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002134/1.26, allocations: 48 kB / 1.054 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03528/1.295, allocations: 29.93 MB / 1.083 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.295, allocations: 7.938 kB / 1.083 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/1.307, allocations: 6.856 MB / 1.09 GB, free: 6.758 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/1.309, allocations: 0.7821 MB / 1.09 GB, free: 5.953 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004382/1.309, allocations: 59.98 kB / 1.09 GB, free: 5.895 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/1.311, allocations: 163.8 kB / 1.091 GB, free: 5.734 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008046/1.312, allocations: 253.4 kB / 1.091 GB, free: 5.488 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000167/1.312, allocations: 76 kB / 1.091 GB, free: 5.414 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002242/1.314, allocations: 1.502 MB / 1.092 GB, free: 3.91 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.41e-07/1.314, allocations: 0 / 1.092 GB, free: 3.91 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005765/1.32, allocations: 1.371 MB / 1.094 GB, free: 2.539 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003833/1.32, allocations: 175.5 kB / 1.094 GB, free: 2.359 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01159/1.332, allocations: 6.921 MB / 1.101 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/1.332, allocations: 4 kB / 1.101 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.007349/1.339, allocations: 4.407 MB / 1.105 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004654/1.344, allocations: 1.036 MB / 1.106 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/1.362, allocations: 11.94 MB / 1.118 GB, free: 9.832 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003935/1.366, allocations: 3.642 MB / 1.121 GB, free: 6.16 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002256/1.368, allocations: 0.5556 MB / 1.122 GB, free: 5.602 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/1.368, allocations: 163.4 kB / 1.122 GB, free: 5.441 MB / 0.795 GB Notification: Performance of SimCode: time 1.082e-06/1.368, allocations: 0 / 1.122 GB, free: 5.441 MB / 0.795 GB Notification: Performance of Templates: time 0.1228/1.491, allocations: 71.65 MB / 1.192 GB, free: 14.78 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) Environment - environmentSimulation: