Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 116.1 kB / 17.08 MB, free: 5.832 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.001219/0.001219, allocations: 193.8 kB / 18.02 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7333/0.7333, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 66.94 kB / 0.5584 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1323, allocations: 76.18 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01257/0.1449, allocations: 10.06 MB / 0.6426 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006115/0.151, allocations: 3.182 MB / 0.6457 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.1521, allocations: 35.81 kB / 0.6457 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.154, allocations: 0.5984 MB / 0.6463 GB, free: 6.496 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.156, allocations: 0.7427 MB / 0.647 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.1579, allocations: 0.7358 MB / 0.6477 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003733/0.1616, allocations: 2.996 MB / 0.6507 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003427/0.1651, allocations: 2.59 MB / 0.6532 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.1671, allocations: 1.262 MB / 0.6544 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002726/0.1698, allocations: 1.558 MB / 0.6559 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008404/0.1707, allocations: 236 kB / 0.6562 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.1725, allocations: 0.5032 MB / 0.6567 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001671/0.1742, allocations: 1.068 MB / 0.6577 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002321/0.1765, allocations: 1.112 MB / 0.6588 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004713/0.1812, allocations: 3.681 MB / 0.6624 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.1813, allocations: 7.984 kB / 0.6624 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1813, allocations: 4 kB / 0.6624 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001017/0.1814, allocations: 0 / 0.6624 GB, free: 5.922 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005813/0.1872, allocations: 2.142 MB / 0.6645 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1873, allocations: 12.03 kB / 0.6645 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009745/0.197, allocations: 1.309 MB / 0.6658 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003158/0.2002, allocations: 1.294 MB / 0.667 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.2004, allocations: 119.3 kB / 0.6672 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008538/0.2013, allocations: 144.3 kB / 0.6673 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007375/0.2087, allocations: 3.448 MB / 0.6707 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.898e-05/0.2088, allocations: 7.938 kB / 0.6707 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004637/0.2092, allocations: 59.97 kB / 0.6707 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002874/0.2095, allocations: 211.1 kB / 0.6709 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005776/0.2153, allocations: 3.124 MB / 0.674 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02046/0.2358, allocations: 13.54 MB / 0.6872 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00268/0.2385, allocations: 1.741 MB / 0.6889 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002119/0.2407, allocations: 1.436 MB / 0.6903 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.2408, allocations: 16.98 kB / 0.6903 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.2409, allocations: 51.5 kB / 0.6904 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=104): time 3.998e-06/0.2409, allocations: 0 / 0.6904 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=183): time 0.156/0.3969, allocations: 36.68 MB / 0.7262 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.397, allocations: 73.41 kB / 0.7263 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.3987, allocations: 1.057 MB / 0.7273 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003965/0.3991, allocations: 57.7 kB / 0.7273 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005656/0.3997, allocations: 0.7874 MB / 0.7281 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008192/0.4006, allocations: 0.6276 MB / 0.7287 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009474/0.4015, allocations: 359.3 kB / 0.7291 GB, free: 332 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4016, allocations: 301.1 kB / 0.7294 GB, free: 28 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002763/0.4044, allocations: 1.932 MB / 0.7312 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002961/0.4074, allocations: 2.285 MB / 0.7335 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006182/0.4136, allocations: 4.396 MB / 0.7378 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/0.4136, allocations: 0 / 0.7378 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.358/0.7717, allocations: 9.018 MB / 0.7466 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.7717, allocations: 8.75 kB / 0.7466 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.7718, allocations: 9.969 kB / 0.7466 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01826/0.79, allocations: 4.975 MB / 0.7515 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008839/0.791, allocations: 189.9 kB / 0.7516 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04968/0.8407, allocations: 38.89 MB / 0.7896 GB, free: 76.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/0.8427, allocations: 99.89 kB / 0.7897 GB, free: 76.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/0.8429, allocations: 71.98 kB / 0.7898 GB, free: 76.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001126/0.8441, allocations: 0.7976 MB / 0.7906 GB, free: 76 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.8444, allocations: 142.2 kB / 0.7907 GB, free: 75.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01728/0.8616, allocations: 8.896 MB / 0.7994 GB, free: 66.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.8617, allocations: 18.19 kB / 0.7994 GB, free: 66.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-05/0.8618, allocations: 32 kB / 0.7994 GB, free: 66.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.32e-05/0.8618, allocations: 7.969 kB / 0.7994 GB, free: 66.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02263/0.8844, allocations: 13.4 MB / 0.8125 GB, free: 53.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-05/0.8845, allocations: 7.938 kB / 0.8125 GB, free: 53.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/0.885, allocations: 119.8 kB / 0.8126 GB, free: 53.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01547/0.9005, allocations: 4.843 MB / 0.8174 GB, free: 48.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003167/0.9008, allocations: 32 kB / 0.8174 GB, free: 48.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04456/0.9454, allocations: 36.82 MB / 0.8534 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.9454, allocations: 4 kB / 0.8534 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.017/0.9624, allocations: 8.607 MB / 0.8618 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.9637, allocations: 0.6364 MB / 0.8624 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003334/0.964, allocations: 39.94 kB / 0.8624 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/0.9654, allocations: 87.86 kB / 0.8625 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008062/0.9662, allocations: 173.6 kB / 0.8627 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/0.9663, allocations: 48 kB / 0.8627 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007978/0.9671, allocations: 0.7343 MB / 0.8634 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9671, allocations: 0 / 0.8634 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002961/0.9701, allocations: 1.004 MB / 0.8644 GB, free: 15.56 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003514/0.9705, allocations: 144.8 kB / 0.8646 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009866/0.9803, allocations: 5.957 MB / 0.8704 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.9804, allocations: 4 kB / 0.8704 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008438/0.9888, allocations: 3.941 MB / 0.8742 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.9905, allocations: 239.6 kB / 0.8745 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008683/0.9992, allocations: 5.364 MB / 0.8797 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/1.001, allocations: 1.894 MB / 0.8815 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/1.001, allocations: 71.36 kB / 0.8816 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of SimCode: time 6.21e-07/1.001, allocations: 0 / 0.8816 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of Templates: time 0.08388/1.085, allocations: 69.4 MB / 0.9494 GB, free: 8.438 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)