Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.811/1.811, allocations: 288.4 MB / 303.4 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009868/0.0009868, allocations: 164.6 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 0.6307 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000717/0.0007171, allocations: 85.2 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005864/0.0005866, allocations: 15.77 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2506, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04605/0.2967, allocations: 37.42 MB / 1.016 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03462/0.3314, allocations: 14.41 MB / 1.03 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006834/0.3383, allocations: 159.1 kB / 1.03 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.005286/0.3436, allocations: 0.841 MB / 1.031 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01241/0.3561, allocations: 2.32 MB / 1.033 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01054/0.3667, allocations: 1.9 MB / 1.035 GB, free: 2.473 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02263/0.3894, allocations: 12.66 MB / 1.048 GB, free: 5.773 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02774/0.4172, allocations: 13.98 MB / 1.061 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007343/0.4246, allocations: 3.545 MB / 1.065 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5736/0.9982, allocations: 4.639 MB / 1.069 GB, free: 24.21 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.005195/1.003, allocations: 397.8 kB / 1.07 GB, free: 24.21 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009374/1.013, allocations: 0.8843 MB / 1.071 GB, free: 24.21 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00992/1.023, allocations: 2.959 MB / 1.073 GB, free: 24.21 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00707/1.03, allocations: 1.382 MB / 1.075 GB, free: 24.18 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0329/1.063, allocations: 11.76 MB / 1.086 GB, free: 23.69 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.185e-05/1.063, allocations: 0 / 1.086 GB, free: 23.69 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.37e-06/1.063, allocations: 1.062 kB / 1.086 GB, free: 23.69 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.001074/1.064, allocations: 0 / 1.086 GB, free: 23.69 MB / 0.6823 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.03956/1.104, allocations: 6.229 MB / 1.092 GB, free: 21.13 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.577e-05/1.104, allocations: 12.42 kB / 1.092 GB, free: 21.13 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02149/1.125, allocations: 1.522 MB / 1.094 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02111/1.147, allocations: 4.096 MB / 1.098 GB, free: 20 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001183/1.148, allocations: 456.1 kB / 1.098 GB, free: 19.98 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006526/1.154, allocations: 0.5936 MB / 1.099 GB, free: 19.98 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05419/1.209, allocations: 10.63 MB / 1.109 GB, free: 17.78 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004879/1.209, allocations: 41.64 kB / 1.109 GB, free: 17.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005274/1.214, allocations: 265.3 kB / 1.11 GB, free: 17.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004009/1.218, allocations: 0.7729 MB / 1.11 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03009/1.249, allocations: 8.514 MB / 1.119 GB, free: 16.11 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08523/1.334, allocations: 46.95 MB / 1.164 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00879/1.343, allocations: 4.302 MB / 1.169 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007306/1.35, allocations: 3.674 MB / 1.172 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005397/1.351, allocations: 36.19 kB / 1.172 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/1.351, allocations: 79.7 kB / 1.172 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=353): time 5.691e-06/1.351, allocations: 6.297 kB / 1.172 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=578): time 0.6232/1.974, allocations: 127.9 MB / 1.297 GB, free: 9.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/1.974, allocations: 107.9 kB / 1.297 GB, free: 9.379 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006255/1.98, allocations: 2.654 MB / 1.3 GB, free: 6.727 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001776/1.982, allocations: 125.7 kB / 1.3 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002567/1.985, allocations: 2.679 MB / 1.303 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.00382/1.989, allocations: 1.948 MB / 1.305 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001439/1.99, allocations: 116 kB / 1.305 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000598/1.991, allocations: 0.5218 MB / 1.305 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008502/1.999, allocations: 4.064 MB / 1.309 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009261/2.009, allocations: 4.985 MB / 1.314 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009726/2.018, allocations: 4.824 MB / 1.319 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.384e-05/2.018, allocations: 8 kB / 1.319 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04914/2.068, allocations: 16.92 MB / 1.335 GB, free: 2.453 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.83e-05/2.068, allocations: 16 kB / 1.335 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.403e-05/2.068, allocations: 27.84 kB / 1.335 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03357/2.101, allocations: 9.048 MB / 1.344 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002919/2.104, allocations: 0.5271 MB / 1.345 GB, free: 8.832 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1237/2.228, allocations: 70.61 MB / 1.414 GB, free: 0.875 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007513/2.236, allocations: 283.7 kB / 1.414 GB, free: 0.5977 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002214/2.238, allocations: 188 kB / 1.414 GB, free: 424 kB / 0.948 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.01269/2.251, allocations: 2.433 MB / 1.416 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00344/2.254, allocations: 470.5 kB / 1.417 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6441/2.898, allocations: 16.75 MB / 1.433 GB, free: 336.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001012/2.898, allocations: 55.84 kB / 1.433 GB, free: 336.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003367/2.899, allocations: 71 kB / 1.433 GB, free: 336.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001589/2.899, allocations: 30.19 kB / 1.433 GB, free: 336.7 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07032/2.969, allocations: 25.62 MB / 1.458 GB, free: 331.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.339e-05/2.969, allocations: 7.844 kB / 1.458 GB, free: 331.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002143/2.971, allocations: 316.4 kB / 1.459 GB, free: 331.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03231/3.004, allocations: 8.262 MB / 1.467 GB, free: 329.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001726/3.006, allocations: 105.5 kB / 1.467 GB, free: 329.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08635/3.092, allocations: 67.46 MB / 1.533 GB, free: 281.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/3.092, allocations: 11.94 kB / 1.533 GB, free: 281.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04198/3.134, allocations: 21.48 MB / 1.554 GB, free: 259.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004866/3.139, allocations: 1.362 MB / 1.555 GB, free: 258.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002789/3.142, allocations: 108 kB / 1.555 GB, free: 258.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006155/3.148, allocations: 287.6 kB / 1.555 GB, free: 258 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003092/3.151, allocations: 0.5236 MB / 1.556 GB, free: 257.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001204/3.152, allocations: 144 kB / 1.556 GB, free: 257.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00396/3.156, allocations: 1.749 MB / 1.558 GB, free: 255.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.11e-07/3.156, allocations: 3.938 kB / 1.558 GB, free: 255.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01486/3.171, allocations: 2.441 MB / 1.56 GB, free: 253.1 MB / 0.9636 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.002027/3.173, allocations: 238.9 kB / 1.56 GB, free: 252.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02838/3.202, allocations: 14.48 MB / 1.575 GB, free: 238.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.978e-05/3.202, allocations: 4.25 kB / 1.575 GB, free: 238.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.02042/3.222, allocations: 9.371 MB / 1.584 GB, free: 228.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01179/3.234, allocations: 1.293 MB / 1.585 GB, free: 227.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03734/3.271, allocations: 18.1 MB / 1.603 GB, free: 209.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01183/3.283, allocations: 4.895 MB / 1.607 GB, free: 204.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004389/3.288, allocations: 0.741 MB / 1.608 GB, free: 203.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/3.289, allocations: 203.4 kB / 1.608 GB, free: 203.4 MB / 0.9636 GB Notification: Performance of SimCode: time 1.423e-06/3.289, allocations: 0 / 1.608 GB, free: 203.4 MB / 0.9636 GB Notification: Performance of Templates: time 0.2187/3.507, allocations: 135.3 MB / 1.741 GB, free: 68.88 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)