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.001224/0.001224, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001436/0.001436, allocations: 195.6 kB / 16.14 MB, free: 6.711 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.502/1.502, allocations: 205.1 MB / 222 MB, free: 4.762 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.813/1.813, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.002293/0.002293, allocations: 74.78 kB / 0.6708 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2636, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03602/0.2996, allocations: 34.38 MB / 0.8163 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02153/0.3212, allocations: 11.63 MB / 0.8276 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005075/0.3263, allocations: 147.2 kB / 0.8278 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.337, allocations: 3.98 MB / 0.8316 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00639/0.3434, allocations: 1.875 MB / 0.8335 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006686/0.3501, allocations: 2.159 MB / 0.8356 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01328/0.3634, allocations: 12.4 MB / 0.8477 GB, free: 11.22 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02031/0.3837, allocations: 12.33 MB / 0.8597 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007749/0.3915, allocations: 3.184 MB / 0.8628 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008427/0.4, allocations: 4.276 MB / 0.867 GB, free: 7.301 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002553/0.4026, allocations: 0.543 MB / 0.8676 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006681/0.4093, allocations: 2.129 MB / 0.8696 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004958/0.4143, allocations: 2.818 MB / 0.8724 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00773/0.422, allocations: 3.135 MB / 0.8754 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01447/0.4365, allocations: 11.83 MB / 0.887 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.4366, allocations: 4 kB / 0.887 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.424e-06/0.4366, allocations: 0 / 0.887 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003546/0.4369, allocations: 0 / 0.887 GB, free: 2.785 MB / 0.7012 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.01276/0.4497, allocations: 5.791 MB / 0.8927 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.4498, allocations: 8.031 kB / 0.8927 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006244/0.456, allocations: 1.06 MB / 0.8937 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006657/0.4627, allocations: 3.262 MB / 0.8969 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003247/0.4631, allocations: 415.5 kB / 0.8973 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001601/0.4647, allocations: 0.5393 MB / 0.8978 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02107/0.4858, allocations: 9.071 MB / 0.9067 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001881/0.486, allocations: 39.64 kB / 0.9067 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007257/0.4867, allocations: 232 kB / 0.9069 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003669/0.4871, allocations: 346.8 kB / 0.9073 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01305/0.5002, allocations: 6.826 MB / 0.9139 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5562/1.056, allocations: 40.11 MB / 0.9531 GB, free: 93.39 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004317/1.061, allocations: 3.114 MB / 0.9561 GB, free: 91.61 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003303/1.064, allocations: 1.966 MB / 0.9581 GB, free: 90.86 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/1.064, allocations: 19.09 kB / 0.9581 GB, free: 90.86 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/1.064, allocations: 55.39 kB / 0.9581 GB, free: 90.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 4.198e-06/1.064, allocations: 4 kB / 0.9581 GB, free: 90.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02579/1.09, allocations: 9.985 MB / 0.9679 GB, free: 86.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/1.09, allocations: 71.09 kB / 0.9679 GB, free: 86.65 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/1.093, allocations: 1.528 MB / 0.9694 GB, free: 85.78 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002627/1.093, allocations: 56.36 kB / 0.9695 GB, free: 85.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001303/1.094, allocations: 2.251 MB / 0.9717 GB, free: 83.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006024/1.095, allocations: 0.6318 MB / 0.9723 GB, free: 83.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000621/1.095, allocations: 413.2 kB / 0.9727 GB, free: 82.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.503e-05/1.095, allocations: 301.1 kB / 0.973 GB, free: 82.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/1.097, allocations: 1.174 MB / 0.9741 GB, free: 82.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002033/1.099, allocations: 1.891 MB / 0.976 GB, free: 80.51 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004108/1.103, allocations: 3.36 MB / 0.9793 GB, free: 78.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-05/1.103, allocations: 6.094 kB / 0.9793 GB, free: 78.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007158/1.111, allocations: 4.589 MB / 0.9838 GB, free: 75.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/1.111, allocations: 11.88 kB / 0.9838 GB, free: 75.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/1.111, allocations: 23.56 kB / 0.9838 GB, free: 75.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003454/1.114, allocations: 1.588 MB / 0.9853 GB, free: 75.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/1.115, allocations: 355.1 kB / 0.9857 GB, free: 74.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/1.133, allocations: 17.02 MB / 1.002 GB, free: 62.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/1.135, allocations: 121.2 kB / 1.002 GB, free: 62.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/1.136, allocations: 92.25 kB / 1.003 GB, free: 62.5 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 (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.003102/1.139, allocations: 1.901 MB / 1.004 GB, free: 61.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005475/1.139, allocations: 225.3 kB / 1.005 GB, free: 60.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00565/1.145, allocations: 4.086 MB / 1.009 GB, free: 56.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/1.145, allocations: 20 kB / 1.009 GB, free: 56.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/1.145, allocations: 16 kB / 1.009 GB, free: 56.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/1.145, allocations: 11.91 kB / 1.009 GB, free: 56.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/1.158, allocations: 9.483 MB / 1.018 GB, free: 47.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/1.158, allocations: 7.984 kB / 1.018 GB, free: 47.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007171/1.159, allocations: 175.7 kB / 1.018 GB, free: 46.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002957/1.162, allocations: 1.357 MB / 1.019 GB, free: 45.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/1.162, allocations: 36 kB / 1.019 GB, free: 45.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0152/1.177, allocations: 15.93 MB / 1.035 GB, free: 29.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.177, allocations: 7.938 kB / 1.035 GB, free: 29 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005729/1.183, allocations: 4.085 MB / 1.039 GB, free: 24.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/1.185, allocations: 0.5218 MB / 1.039 GB, free: 24.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/1.185, allocations: 39.91 kB / 1.04 GB, free: 24.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008838/1.186, allocations: 87.89 kB / 1.04 GB, free: 24.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005263/1.186, allocations: 161.7 kB / 1.04 GB, free: 24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-05/1.186, allocations: 48 kB / 1.04 GB, free: 23.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001155/1.188, allocations: 1.005 MB / 1.041 GB, free: 22.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.188, allocations: 0 / 1.041 GB, free: 22.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00328/1.191, allocations: 0.9844 MB / 1.042 GB, free: 21.94 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 (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.0002831/1.191, allocations: 147.1 kB / 1.042 GB, free: 21.79 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005788/1.197, allocations: 4.273 MB / 1.046 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.197, allocations: 0 / 1.046 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003708/1.201, allocations: 2.674 MB / 1.049 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003298/1.204, allocations: 0.7188 MB / 1.049 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/1.219, allocations: 11 MB / 1.06 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003701/1.223, allocations: 3.578 MB / 1.064 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001641/1.224, allocations: 463.9 kB / 1.064 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/1.225, allocations: 119.4 kB / 1.064 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of SimCode: time 8.82e-07/1.225, allocations: 0 / 1.064 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of Templates: time 0.07289/1.298, allocations: 42.68 MB / 1.106 GB, free: 4.551 MB / 0.7794 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)