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.00165/0.001651, allocations: 105.8 kB / 16.29 MB, free: 6.023 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.001972/0.001972, allocations: 181.6 kB / 17.22 MB, free: 5.633 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.414/1.414, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.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.001704/0.001704, allocations: 71.89 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2615, allocations: 114.5 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.4927/0.7543, allocations: 33.19 MB / 0.8165 GB, free: 30.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02428/0.7786, allocations: 14.9 MB / 0.831 GB, free: 20.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004903/0.7835, allocations: 156 kB / 0.8312 GB, free: 20.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009721/0.7933, allocations: 3.658 MB / 0.8348 GB, free: 17.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01139/0.8047, allocations: 2.877 MB / 0.8376 GB, free: 16.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008732/0.8135, allocations: 2.317 MB / 0.8398 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01362/0.8271, allocations: 8.818 MB / 0.8484 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01705/0.8442, allocations: 9.646 MB / 0.8579 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009398/0.8537, allocations: 3.958 MB / 0.8617 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009326/0.863, allocations: 4.028 MB / 0.8657 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003559/0.8666, allocations: 0.7156 MB / 0.8664 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008062/0.8747, allocations: 1.729 MB / 0.8681 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0071/0.8819, allocations: 2.822 MB / 0.8708 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.009593/0.8915, allocations: 3.397 MB / 0.8741 GB, free: 14.5 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0187/0.9102, allocations: 11.19 MB / 0.8851 GB, free: 3.832 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.9103, allocations: 4 kB / 0.8851 GB, free: 3.828 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.365e-06/0.9103, allocations: 0 / 0.8851 GB, free: 3.828 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004444/0.9107, allocations: 0 / 0.8851 GB, free: 3.828 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02057/0.9313, allocations: 5.971 MB / 0.8909 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.9314, allocations: 12.03 kB / 0.8909 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008465/0.9399, allocations: 1.145 MB / 0.892 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009478/0.9494, allocations: 3.328 MB / 0.8953 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005231/0.95, allocations: 374.4 kB / 0.8956 GB, free: 8.844 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002139/0.9521, allocations: 500 kB / 0.8961 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01957/0.9717, allocations: 7.997 MB / 0.9039 GB, free: 76 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002642/0.972, allocations: 31.7 kB / 0.9039 GB, free: 44 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001563/0.9736, allocations: 216 kB / 0.9041 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001167/0.9748, allocations: 441.5 kB / 0.9046 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01407/0.9888, allocations: 6.088 MB / 0.9105 GB, free: 9.297 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0552/1.044, allocations: 34.88 MB / 0.9446 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/1.047, allocations: 2.022 MB / 0.9466 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002875/1.05, allocations: 1.861 MB / 0.9484 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/1.051, allocations: 22 kB / 0.9484 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.61e-05/1.051, allocations: 56.55 kB / 0.9484 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=171): time 4.037e-06/1.051, allocations: 0 / 0.9484 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of matching and sorting (n=276): time 0.1457/1.196, allocations: 38.87 MB / 0.9864 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.763e-05/1.197, allocations: 81.58 kB / 0.9865 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003994/1.201, allocations: 2.282 MB / 0.9887 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0004682/1.201, allocations: 73.7 kB / 0.9888 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00153/1.203, allocations: 2.276 MB / 0.991 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001029/1.204, allocations: 0.9319 MB / 0.9919 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/1.205, allocations: 0.5022 MB / 0.9924 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.211e-05/1.205, allocations: 309.1 kB / 0.9927 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003115/1.208, allocations: 1.97 MB / 0.9946 GB, free: 15.77 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003523/1.212, allocations: 2.602 MB / 0.9972 GB, free: 12.93 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006832/1.218, allocations: 4.937 MB / 1.002 GB, free: 7.715 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/1.218, allocations: 4 kB / 1.002 GB, free: 7.711 MB / 0.795 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0152/1.234, allocations: 7.758 MB / 1.01 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/1.234, allocations: 12 kB / 1.01 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.824e-05/1.234, allocations: 16 kB / 1.01 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009455/1.243, allocations: 3.226 MB / 1.013 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/1.245, allocations: 399.3 kB / 1.013 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04466/1.29, allocations: 33.88 MB / 1.046 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/1.292, allocations: 155.8 kB / 1.046 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/1.293, allocations: 112 kB / 1.046 GB, free: 9.246 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002844/1.296, allocations: 1.793 MB / 1.048 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006529/1.296, allocations: 328.2 kB / 1.049 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/1.31, allocations: 7.364 MB / 1.056 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/1.31, allocations: 28.38 kB / 1.056 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.419e-05/1.31, allocations: 28 kB / 1.056 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.484e-05/1.311, allocations: 15.95 kB / 1.056 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02199/1.333, allocations: 12.92 MB / 1.068 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/1.333, allocations: 7.938 kB / 1.068 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.334, allocations: 236.4 kB / 1.069 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008081/1.342, allocations: 2.847 MB / 1.071 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003239/1.342, allocations: 55.94 kB / 1.071 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0432/1.385, allocations: 32.66 MB / 1.103 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.719e-06/1.385, allocations: 11.94 kB / 1.103 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/1.398, allocations: 6.894 MB / 1.11 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001852/1.4, allocations: 0.7782 MB / 1.111 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004912/1.4, allocations: 51.98 kB / 1.111 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/1.402, allocations: 167.8 kB / 1.111 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008052/1.403, allocations: 257.4 kB / 1.111 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002643/1.403, allocations: 76 kB / 1.111 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002156/1.405, allocations: 1.525 MB / 1.113 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/1.405, allocations: 0 / 1.113 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.005291/1.41, allocations: 1.371 MB / 1.114 GB, free: 2.457 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004045/1.411, allocations: 177.8 kB / 1.114 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.422, allocations: 6.923 MB / 1.121 GB, free: 11.26 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/1.422, allocations: 4.25 kB / 1.121 GB, free: 11.25 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.007966/1.43, allocations: 4.417 MB / 1.125 GB, free: 6.762 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004746/1.435, allocations: 1.107 MB / 1.127 GB, free: 5.703 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4016/1.837, allocations: 10.08 MB / 1.136 GB, free: 278.9 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00388/1.841, allocations: 3.638 MB / 1.14 GB, free: 278.1 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002176/1.843, allocations: 0.5545 MB / 1.141 GB, free: 278.1 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005232/1.843, allocations: 156.9 kB / 1.141 GB, free: 278.1 MB / 0.92 GB Notification: Performance of SimCode: time 1.663e-06/1.843, allocations: 1.312 kB / 1.141 GB, free: 278.1 MB / 0.92 GB Notification: Performance of Templates: time 0.1925/2.036, allocations: 77.57 MB / 1.216 GB, free: 248.7 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)