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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.331/1.331, allocations: 251.5 MB / 267.4 MB, free: 11.11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008958/0.0008957, allocations: 182.3 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009975/0.0009975, allocations: 92.56 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003363, allocations: 9.375 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1935, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03089/0.2244, allocations: 40.39 MB / 0.9362 GB, free: 27.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02116/0.2456, allocations: 15.04 MB / 0.9509 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005226/0.2509, allocations: 171.1 kB / 0.951 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.009311/0.2602, allocations: 4.13 MB / 0.9551 GB, free: 8.277 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00871/0.269, allocations: 2.632 MB / 0.9576 GB, free: 5.633 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006678/0.2757, allocations: 2.886 MB / 0.9605 GB, free: 2.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01576/0.2915, allocations: 15.94 MB / 0.976 GB, free: 2.762 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02097/0.3125, allocations: 13.58 MB / 0.9893 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00818/0.3207, allocations: 3.61 MB / 0.9928 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00854/0.3292, allocations: 4.749 MB / 0.9975 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.00232/0.3316, allocations: 400 kB / 0.9978 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005715/0.3373, allocations: 1.829 MB / 0.9996 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.007009/0.3444, allocations: 2.985 MB / 1.003 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.008128/0.3525, allocations: 3.479 MB / 1.006 GB, free: 3.949 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01474/0.3673, allocations: 11.8 MB / 1.017 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.3674, allocations: 0 / 1.017 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of FrontEnd: time 5.67e-06/0.3674, allocations: 3.984 kB / 1.017 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0005495/0.3679, allocations: 0 / 1.017 GB, free: 8.113 MB / 0.6667 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.01785/0.3858, allocations: 6.158 MB / 1.023 GB, free: 1.875 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.3859, allocations: 12.03 kB / 1.023 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.3966, allocations: 1.511 MB / 1.025 GB, free: 352 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/0.4073, allocations: 4.213 MB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005651/0.4079, allocations: 456.5 kB / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002609/0.4105, allocations: 0.6017 MB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02712/0.4377, allocations: 10.68 MB / 1.041 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000389/0.4381, allocations: 35.66 kB / 1.041 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002053/0.4402, allocations: 267.9 kB / 1.041 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002796/0.443, allocations: 0.769 MB / 1.042 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02019/0.4632, allocations: 8.561 MB / 1.05 GB, free: 6.297 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4407/0.904, allocations: 46.98 MB / 1.096 GB, free: 104.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005932/0.9099, allocations: 4.314 MB / 1.1 GB, free: 102.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004816/0.9148, allocations: 3.685 MB / 1.104 GB, free: 100.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004095/0.9152, allocations: 44.67 kB / 1.104 GB, free: 100.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.896e-05/0.9153, allocations: 70.67 kB / 1.104 GB, free: 100.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=353): time 5.581e-06/0.9153, allocations: 0 / 1.104 GB, free: 100.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=578): time 0.4668/1.382, allocations: 128.1 MB / 1.229 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/1.382, allocations: 119.8 kB / 1.229 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005074/1.387, allocations: 2.685 MB / 1.232 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001385/1.389, allocations: 125.7 kB / 1.232 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002062/1.391, allocations: 2.673 MB / 1.234 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.003038/1.394, allocations: 1.953 MB / 1.236 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001536/1.395, allocations: 442 kB / 1.237 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.698e-05/1.396, allocations: 305.8 kB / 1.237 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007087/1.403, allocations: 4.075 MB / 1.241 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007989/1.411, allocations: 5.02 MB / 1.246 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01633/1.427, allocations: 9.848 MB / 1.255 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.427e-05/1.427, allocations: 4 kB / 1.255 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04503/1.472, allocations: 17 MB / 1.272 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.379e-05/1.472, allocations: 18.34 kB / 1.272 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-05/1.472, allocations: 23.56 kB / 1.272 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03184/1.504, allocations: 9.09 MB / 1.281 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002443/1.507, allocations: 0.5187 MB / 1.281 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1033/1.61, allocations: 70.71 MB / 1.35 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005272/1.615, allocations: 279.8 kB / 1.351 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001312/1.617, allocations: 192 kB / 1.351 GB, free: 14.44 MB / 0.8542 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 (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005782/1.623, allocations: 2.427 MB / 1.353 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001623/1.624, allocations: 470.5 kB / 1.354 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04036/1.665, allocations: 16.82 MB / 1.37 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.636e-05/1.665, allocations: 59.94 kB / 1.37 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002743/1.665, allocations: 72.12 kB / 1.37 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001553/1.665, allocations: 27.89 kB / 1.37 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4946/2.16, allocations: 25.68 MB / 1.395 GB, free: 286.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.949e-05/2.16, allocations: 7.031 kB / 1.395 GB, free: 286.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/2.162, allocations: 320.3 kB / 1.396 GB, free: 286.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02651/2.188, allocations: 8.273 MB / 1.404 GB, free: 286.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001119/2.189, allocations: 107.2 kB / 1.404 GB, free: 286.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08674/2.276, allocations: 67.59 MB / 1.47 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/2.276, allocations: 11.94 kB / 1.47 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04372/2.32, allocations: 21.56 MB / 1.491 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003849/2.324, allocations: 1.361 MB / 1.492 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002023/2.326, allocations: 108.4 kB / 1.492 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004364/2.33, allocations: 291.6 kB / 1.493 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002577/2.333, allocations: 0.5221 MB / 1.493 GB, free: 215.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009298/2.334, allocations: 144 kB / 1.493 GB, free: 215.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00302/2.337, allocations: 1.78 MB / 1.495 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.71e-07/2.337, allocations: 0 / 1.495 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.009482/2.346, allocations: 2.441 MB / 1.497 GB, free: 211 MB / 0.8698 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 (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/2.347, allocations: 237.9 kB / 1.498 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02432/2.372, allocations: 14.52 MB / 1.512 GB, free: 196 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/2.372, allocations: 8.062 kB / 1.512 GB, free: 196 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01712/2.389, allocations: 9.386 MB / 1.521 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01063/2.4, allocations: 1.285 MB / 1.522 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.029/2.429, allocations: 19.6 MB / 1.541 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006773/2.436, allocations: 4.997 MB / 1.546 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/2.437, allocations: 211.4 kB / 1.547 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.263e-06/2.437, allocations: 0 / 1.547 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.7666/3.203, allocations: 473.6 MB / 2.009 GB, free: 13.18 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (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)