Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009764/0.0009763, allocations: 84.38 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.001208/0.001208, 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.649/1.649, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.634/1.634, allocations: 252 MB / 0.5102 GB, free: 4.832 MB / 414.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.0005108/0.0005109, allocations: 16 kB / 0.6243 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6004/0.601, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03698/0.638, allocations: 37.43 MB / 0.7647 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02322/0.6612, allocations: 14.39 MB / 0.7788 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004282/0.6656, allocations: 163 kB / 0.7789 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002918/0.6685, allocations: 0.845 MB / 0.7797 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006525/0.6751, allocations: 2.316 MB / 0.782 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005678/0.6808, allocations: 1.913 MB / 0.7839 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01469/0.6955, allocations: 12.65 MB / 0.7962 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02412/0.7196, allocations: 13.98 MB / 0.8099 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007834/0.7275, allocations: 3.552 MB / 0.8133 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0096/0.7371, allocations: 4.634 MB / 0.8179 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002061/0.7392, allocations: 396 kB / 0.8182 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003933/0.7432, allocations: 0.8976 MB / 0.8191 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.004064/0.7473, allocations: 2.958 MB / 0.822 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002715/0.75, allocations: 1.385 MB / 0.8234 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01581/0.7658, allocations: 11.75 MB / 0.8348 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.7659, allocations: 4 kB / 0.8348 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7659, allocations: 4 kB / 0.8348 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004935/0.7664, allocations: 0 / 0.8348 GB, free: 13.75 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01773/0.7841, allocations: 6.217 MB / 0.8409 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.7842, allocations: 12.03 kB / 0.8409 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.795, allocations: 1.517 MB / 0.8424 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/0.807, allocations: 4.097 MB / 0.8464 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000765/0.8078, allocations: 456.1 kB / 0.8468 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0039/0.8118, allocations: 0.5974 MB / 0.8474 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03226/0.844, allocations: 10.63 MB / 0.8578 GB, free: 5.684 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005964/0.8447, allocations: 31.75 kB / 0.8578 GB, free: 5.652 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003277/0.848, allocations: 259.9 kB / 0.8581 GB, free: 5.398 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002953/0.851, allocations: 0.7768 MB / 0.8589 GB, free: 4.617 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02232/0.8733, allocations: 8.514 MB / 0.8672 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5411/1.414, allocations: 46.94 MB / 0.913 GB, free: 140.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007301/1.422, allocations: 4.306 MB / 0.9172 GB, free: 140 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006869/1.429, allocations: 3.676 MB / 0.9208 GB, free: 139.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003873/1.429, allocations: 36.41 kB / 0.9208 GB, free: 139.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.611e-05/1.429, allocations: 77.89 kB / 0.9209 GB, free: 139.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=353): time 5.29e-06/1.429, allocations: 0 / 0.9209 GB, free: 139.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=578): time 0.4268/1.856, allocations: 127.9 MB / 1.046 GB, free: 28.63 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/1.856, allocations: 111.9 kB / 1.046 GB, free: 28.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004934/1.861, allocations: 2.65 MB / 1.048 GB, free: 25.86 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001963/1.863, allocations: 129.7 kB / 1.049 GB, free: 25.72 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00208/1.865, allocations: 2.677 MB / 1.051 GB, free: 23.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.004296/1.869, allocations: 1.946 MB / 1.053 GB, free: 21.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001514/1.871, allocations: 116 kB / 1.053 GB, free: 20.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0004563/1.871, allocations: 0.5217 MB / 1.054 GB, free: 20.45 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006877/1.878, allocations: 4.062 MB / 1.058 GB, free: 16.39 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007307/1.886, allocations: 4.988 MB / 1.063 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007508/1.893, allocations: 4.823 MB / 1.067 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.898e-05/1.893, allocations: 11.95 kB / 1.067 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03923/1.933, allocations: 16.91 MB / 1.084 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/1.933, allocations: 17.88 kB / 1.084 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-05/1.933, allocations: 24 kB / 1.084 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03415/1.967, allocations: 9.067 MB / 1.093 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002647/1.97, allocations: 0.5187 MB / 1.093 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1146/2.084, allocations: 70.61 MB / 1.162 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005195/2.089, allocations: 283.8 kB / 1.162 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001401/2.091, allocations: 188 kB / 1.163 GB, free: 2.957 MB / 0.8106 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 (274): * Single equations (assignments): 263 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00647/2.097, allocations: 2.421 MB / 1.165 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001856/2.099, allocations: 474.5 kB / 1.165 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04336/2.143, allocations: 16.75 MB / 1.182 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.44e-05/2.143, allocations: 56 kB / 1.182 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003105/2.143, allocations: 72.12 kB / 1.182 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001553/2.143, allocations: 31.89 kB / 1.182 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06486/2.208, allocations: 25.63 MB / 1.207 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-05/2.208, allocations: 4 kB / 1.207 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/2.21, allocations: 323.4 kB / 1.207 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02829/2.239, allocations: 8.261 MB / 1.215 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001557/2.24, allocations: 108 kB / 1.215 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.612/2.852, allocations: 67.44 MB / 1.281 GB, free: 286.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/2.852, allocations: 11.25 kB / 1.281 GB, free: 286.8 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03695/2.889, allocations: 21.48 MB / 1.302 GB, free: 278 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003536/2.893, allocations: 1.366 MB / 1.304 GB, free: 277.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001591/2.894, allocations: 109.2 kB / 1.304 GB, free: 277.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003812/2.898, allocations: 295.8 kB / 1.304 GB, free: 277.2 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002588/2.901, allocations: 0.518 MB / 1.305 GB, free: 277.1 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000522/2.901, allocations: 148.4 kB / 1.305 GB, free: 277 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002634/2.904, allocations: 1.75 MB / 1.306 GB, free: 276.4 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/2.904, allocations: 0 / 1.306 GB, free: 276.4 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.008353/2.912, allocations: 2.442 MB / 1.309 GB, free: 275.3 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009228/2.913, allocations: 244.1 kB / 1.309 GB, free: 275.1 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.02414/2.937, allocations: 14.48 MB / 1.323 GB, free: 262.2 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/2.938, allocations: 4 kB / 1.323 GB, free: 262.2 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0166/2.954, allocations: 9.373 MB / 1.332 GB, free: 252.8 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009247/2.963, allocations: 1.29 MB / 1.334 GB, free: 251.5 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02776/2.991, allocations: 18.09 MB / 1.351 GB, free: 233.3 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006931/2.998, allocations: 4.896 MB / 1.356 GB, free: 228.4 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00337/3.002, allocations: 0.741 MB / 1.357 GB, free: 227.7 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006018/3.002, allocations: 203.4 kB / 1.357 GB, free: 227.5 MB / 0.8887 GB Notification: Performance of SimCode: time 2.134e-06/3.002, allocations: 0 / 1.357 GB, free: 227.5 MB / 0.8887 GB Notification: Performance of Templates: time 0.247/3.249, allocations: 135.3 MB / 1.489 GB, free: 93.45 MB / 0.8887 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) Environment - environmentSimulation: