Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 104.8 kB / 16.29 MB, free: 6.43 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.001264/0.001265, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.446/1.446, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.858/1.858, allocations: 292.3 MB / 0.5495 GB, free: 17.63 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.001425/0.001426, allocations: 63.91 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3193, allocations: 114.6 MB / 0.7841 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.544/0.8633, allocations: 34.68 MB / 0.818 GB, free: 29.79 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01893/0.8823, allocations: 11.62 MB / 0.8293 GB, free: 21.9 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004486/0.8868, allocations: 158.2 kB / 0.8295 GB, free: 21.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01047/0.8973, allocations: 4.243 MB / 0.8336 GB, free: 19.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007596/0.9049, allocations: 1.994 MB / 0.8355 GB, free: 18.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008/0.913, allocations: 2.404 MB / 0.8379 GB, free: 16.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0144/0.9274, allocations: 8.46 MB / 0.8462 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02261/0.95, allocations: 11.22 MB / 0.8571 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009861/0.9599, allocations: 3.746 MB / 0.8608 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008494/0.9685, allocations: 4.179 MB / 0.8648 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.004052/0.9726, allocations: 0.7797 MB / 0.8656 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007788/0.9804, allocations: 2.029 MB / 0.8676 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.006977/0.9874, allocations: 3.056 MB / 0.8706 GB, free: 2 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0134/1.001, allocations: 3.397 MB / 0.8739 GB, free: 15.36 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02232/1.023, allocations: 11.98 MB / 0.8856 GB, free: 3.34 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/1.023, allocations: 4 kB / 0.8856 GB, free: 3.336 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.435e-06/1.023, allocations: 0 / 0.8856 GB, free: 3.336 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004674/1.024, allocations: 0 / 0.8856 GB, free: 3.336 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01852/1.042, allocations: 5.791 MB / 0.8913 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/1.042, allocations: 12.02 kB / 0.8913 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007568/1.05, allocations: 1.063 MB / 0.8923 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007589/1.058, allocations: 3.255 MB / 0.8955 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003613/1.058, allocations: 419.5 kB / 0.8959 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002152/1.06, allocations: 0.5431 MB / 0.8964 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02391/1.084, allocations: 9.075 MB / 0.9053 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001971/1.084, allocations: 31.7 kB / 0.9053 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001091/1.085, allocations: 243.9 kB / 0.9055 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003419/1.086, allocations: 350.8 kB / 0.9059 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01593/1.102, allocations: 6.826 MB / 0.9125 GB, free: 7.281 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04896/1.151, allocations: 39.78 MB / 0.9514 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003811/1.155, allocations: 3.125 MB / 0.9544 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002541/1.157, allocations: 1.974 MB / 0.9564 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/1.157, allocations: 18 kB / 0.9564 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/1.157, allocations: 56.55 kB / 0.9564 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=179): time 4.879e-06/1.157, allocations: 0 / 0.9564 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of matching and sorting (n=182): time 0.02334/1.181, allocations: 9.971 MB / 0.9662 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/1.181, allocations: 77.39 kB / 0.9662 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/1.183, allocations: 1.522 MB / 0.9677 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001906/1.183, allocations: 53.7 kB / 0.9678 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001674/1.185, allocations: 2.257 MB / 0.97 GB, free: 8.391 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006342/1.185, allocations: 0.6277 MB / 0.9706 GB, free: 7.754 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006267/1.186, allocations: 407.9 kB / 0.971 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.186, allocations: 305.1 kB / 0.9713 GB, free: 7.047 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/1.188, allocations: 1.179 MB / 0.9724 GB, free: 5.863 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002204/1.19, allocations: 1.885 MB / 0.9743 GB, free: 3.656 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004547/1.195, allocations: 3.375 MB / 0.9776 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/1.195, allocations: 4 kB / 0.9776 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008498/1.203, allocations: 4.581 MB / 0.982 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/1.203, allocations: 16.78 kB / 0.9821 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-05/1.203, allocations: 24 kB / 0.9821 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00375/1.207, allocations: 1.576 MB / 0.9836 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.208, allocations: 355.3 kB / 0.984 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02253/1.231, allocations: 18.59 MB / 1.002 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/1.233, allocations: 119.9 kB / 1.002 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002011/1.233, allocations: 96 kB / 1.002 GB, free: 6.035 MB / 0.795 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003025/1.236, allocations: 1.894 MB / 1.004 GB, free: 4.129 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004464/1.236, allocations: 221.4 kB / 1.004 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006776/1.243, allocations: 4.086 MB / 1.008 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/1.243, allocations: 20 kB / 1.008 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.378e-05/1.243, allocations: 16 kB / 1.008 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.13e-05/1.243, allocations: 7.969 kB / 1.008 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/1.259, allocations: 9.478 MB / 1.018 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/1.259, allocations: 8.094 kB / 1.018 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008506/1.26, allocations: 187.7 kB / 1.018 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003381/1.263, allocations: 1.361 MB / 1.019 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001627/1.263, allocations: 36 kB / 1.019 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02243/1.286, allocations: 17.34 MB / 1.036 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.286, allocations: 4 kB / 1.036 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007209/1.293, allocations: 4.073 MB / 1.04 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/1.294, allocations: 0.5218 MB / 1.041 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/1.294, allocations: 43.84 kB / 1.041 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000884/1.295, allocations: 91.89 kB / 1.041 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005232/1.296, allocations: 161.7 kB / 1.041 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/1.296, allocations: 48 kB / 1.041 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001469/1.297, allocations: 0.9968 MB / 1.042 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/1.297, allocations: 8 kB / 1.042 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003428/1.301, allocations: 0.9883 MB / 1.043 GB, free: 11.46 MB / 0.8419 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002989/1.301, allocations: 147 kB / 1.043 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00713/1.308, allocations: 4.308 MB / 1.047 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.495e-06/1.308, allocations: 0 / 1.047 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004547/1.313, allocations: 2.67 MB / 1.05 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003474/1.316, allocations: 0.7795 MB / 1.051 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01713/1.334, allocations: 8.596 MB / 1.059 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005082/1.339, allocations: 3.569 MB / 1.063 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001558/1.34, allocations: 471.9 kB / 1.063 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/1.341, allocations: 111.4 kB / 1.063 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of SimCode: time 1.082e-06/1.341, allocations: 0 / 1.063 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of Templates: time 0.08411/1.425, allocations: 43.9 MB / 1.106 GB, free: 11.22 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)