Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001434/0.001434, allocations: 104.2 kB / 16.29 MB, free: 6.02 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.001744/0.001744, allocations: 187.2 kB / 17.22 MB, free: 5.629 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.563/1.563, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.772/1.772, allocations: 292.3 MB / 0.5495 GB, free: 17.64 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.001429/0.00143, allocations: 71.89 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2641, allocations: 114.6 MB / 0.7841 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.561/0.8252, allocations: 41.12 MB / 0.8242 GB, free: 25.15 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02651/0.8518, allocations: 15.07 MB / 0.839 GB, free: 15 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007843/0.8597, allocations: 188.6 kB / 0.8391 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01268/0.8725, allocations: 4.459 MB / 0.8435 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.8828, allocations: 2.796 MB / 0.8462 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01033/0.8932, allocations: 3.152 MB / 0.8493 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01874/0.912, allocations: 11.41 MB / 0.8604 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02495/0.937, allocations: 12.64 MB / 0.8728 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01197/0.949, allocations: 4.813 MB / 0.8775 GB, free: 10.81 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01219/0.9612, allocations: 5.388 MB / 0.8827 GB, free: 6.27 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00428/0.9656, allocations: 0.9492 MB / 0.8837 GB, free: 5.316 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008651/0.9742, allocations: 2.036 MB / 0.8857 GB, free: 3.277 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.007994/0.9823, allocations: 3.692 MB / 0.8893 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01548/0.9978, allocations: 4.307 MB / 0.8935 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02662/1.024, allocations: 14.27 MB / 0.9074 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.025, allocations: 0 / 0.9074 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.483e-06/1.025, allocations: 4 kB / 0.9074 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0005483/1.025, allocations: 0 / 0.9074 GB, free: 12.94 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.0264/1.051, allocations: 7.592 MB / 0.9148 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/1.052, allocations: 8.031 kB / 0.9148 GB, free: 5.258 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01235/1.064, allocations: 1.518 MB / 0.9163 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/1.077, allocations: 4.213 MB / 0.9204 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005353/1.078, allocations: 456.4 kB / 0.9209 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003222/1.081, allocations: 0.59 MB / 0.9214 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03084/1.112, allocations: 10.69 MB / 0.9319 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002814/1.112, allocations: 31.62 kB / 0.9319 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001986/1.114, allocations: 271.9 kB / 0.9322 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002686/1.117, allocations: 0.769 MB / 0.9329 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02521/1.142, allocations: 8.561 MB / 0.9413 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08599/1.228, allocations: 46.54 MB / 0.9867 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007911/1.236, allocations: 4.307 MB / 0.9909 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006739/1.243, allocations: 3.697 MB / 0.9945 GB, free: 15.36 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005232/1.244, allocations: 50.7 kB / 0.9946 GB, free: 15.31 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.31e-05/1.244, allocations: 73.34 kB / 0.9947 GB, free: 15.23 MB / 0.795 GB Notification: Performance of pre-optimization done (n=353): time 9.388e-06/1.244, allocations: 7.938 kB / 0.9947 GB, free: 15.22 MB / 0.795 GB Notification: Performance of matching and sorting (n=578): time 0.4939/1.738, allocations: 122.7 MB / 1.115 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1.738, allocations: 111.9 kB / 1.115 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006908/1.745, allocations: 2.681 MB / 1.117 GB, free: 0.8398 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.001893/1.747, allocations: 125.7 kB / 1.117 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002601/1.749, allocations: 2.683 MB / 1.12 GB, free: 14 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.00425/1.754, allocations: 1.948 MB / 1.122 GB, free: 12.02 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004701/1.758, allocations: 0.9248 MB / 1.123 GB, free: 11.09 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.758, allocations: 301.1 kB / 1.123 GB, free: 10.79 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00772/1.766, allocations: 4.083 MB / 1.127 GB, free: 6.703 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008293/1.774, allocations: 5.019 MB / 1.132 GB, free: 1.359 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4843/2.259, allocations: 9.849 MB / 1.142 GB, free: 281.4 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.962e-05/2.259, allocations: 7.5 kB / 1.142 GB, free: 281.4 MB / 0.92 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04215/2.301, allocations: 17 MB / 1.158 GB, free: 275.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.897e-05/2.301, allocations: 18.75 kB / 1.158 GB, free: 275.4 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.006e-05/2.301, allocations: 22.73 kB / 1.158 GB, free: 275.4 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03279/2.334, allocations: 9.075 MB / 1.167 GB, free: 273.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002985/2.337, allocations: 0.5263 MB / 1.168 GB, free: 273.3 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1006/2.438, allocations: 76.96 MB / 1.243 GB, free: 225.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006027/2.444, allocations: 283.7 kB / 1.243 GB, free: 225.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001201/2.445, allocations: 196 kB / 1.243 GB, free: 225.2 MB / 0.92 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.004917/2.45, allocations: 2.417 MB / 1.246 GB, free: 222.7 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/2.451, allocations: 474.4 kB / 1.246 GB, free: 222.3 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03277/2.484, allocations: 16.82 MB / 1.262 GB, free: 205.3 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.126e-05/2.484, allocations: 56 kB / 1.263 GB, free: 205.3 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002328/2.484, allocations: 72 kB / 1.263 GB, free: 205.2 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001138/2.485, allocations: 27.89 kB / 1.263 GB, free: 205.2 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06889/2.553, allocations: 25.67 MB / 1.288 GB, free: 179.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001309/2.554, allocations: 4 kB / 1.288 GB, free: 179.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002696/2.556, allocations: 319.5 kB / 1.288 GB, free: 179 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03732/2.594, allocations: 8.275 MB / 1.296 GB, free: 170.6 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001669/2.595, allocations: 104 kB / 1.296 GB, free: 170.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09762/2.693, allocations: 73.82 MB / 1.368 GB, free: 95.2 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/2.693, allocations: 11.94 kB / 1.368 GB, free: 95.18 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03938/2.733, allocations: 21.56 MB / 1.389 GB, free: 73.28 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003729/2.736, allocations: 1.358 MB / 1.391 GB, free: 71.9 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001488/2.738, allocations: 111.9 kB / 1.391 GB, free: 71.79 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003491/2.741, allocations: 287.6 kB / 1.391 GB, free: 71.51 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00185/2.743, allocations: 0.5222 MB / 1.392 GB, free: 70.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004132/2.744, allocations: 144 kB / 1.392 GB, free: 70.84 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002446/2.746, allocations: 1.776 MB / 1.393 GB, free: 69.07 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.61e-07/2.746, allocations: 0 / 1.393 GB, free: 69.07 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.008398/2.754, allocations: 2.465 MB / 1.396 GB, free: 66.61 MB / 0.92 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.0009298/2.755, allocations: 240.4 kB / 1.396 GB, free: 66.37 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02317/2.779, allocations: 14.54 MB / 1.41 GB, free: 51.67 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/2.779, allocations: 0 / 1.41 GB, free: 51.67 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01657/2.795, allocations: 9.349 MB / 1.419 GB, free: 42.17 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006256/2.802, allocations: 1.379 MB / 1.421 GB, free: 40.96 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02498/2.827, allocations: 15.57 MB / 1.436 GB, free: 25.38 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005515/2.832, allocations: 4.892 MB / 1.441 GB, free: 20.45 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002381/2.835, allocations: 0.7471 MB / 1.441 GB, free: 19.71 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005568/2.835, allocations: 195.4 kB / 1.442 GB, free: 19.52 MB / 0.92 GB Notification: Performance of SimCode: time 1.122e-06/2.835, allocations: 0 / 1.442 GB, free: 19.52 MB / 0.92 GB Notification: Performance of Templates: time 0.6243/3.459, allocations: 147.5 MB / 1.586 GB, free: 249.2 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)