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.001279/0.001279, allocations: 118.2 kB / 17.09 MB, free: 5.969 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.001218/0.001218, allocations: 196.6 kB / 18.02 MB, free: 5.047 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.241/1.241, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6701/0.6701, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 65.25 kB / 0.5584 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1269, allocations: 76.18 MB / 0.6328 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01162/0.1386, allocations: 10.06 MB / 0.6426 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005504/0.1441, allocations: 3.185 MB / 0.6457 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008222/0.145, allocations: 35.81 kB / 0.6457 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.1468, allocations: 0.5985 MB / 0.6463 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.1486, allocations: 0.774 MB / 0.6471 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.1502, allocations: 0.7392 MB / 0.6478 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003184/0.1534, allocations: 3 MB / 0.6507 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003083/0.1565, allocations: 2.59 MB / 0.6532 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/0.1584, allocations: 1.27 MB / 0.6545 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/0.1608, allocations: 1.558 MB / 0.656 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006089/0.1614, allocations: 236 kB / 0.6562 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.1627, allocations: 0.5032 MB / 0.6567 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001427/0.1642, allocations: 1.064 MB / 0.6578 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001939/0.1661, allocations: 1.112 MB / 0.6588 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003532/0.1697, allocations: 3.693 MB / 0.6625 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1697, allocations: 0 / 0.6625 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1697, allocations: 0 / 0.6625 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.234e-05/0.1698, allocations: 0 / 0.6625 GB, free: 5.82 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.003836/0.1736, allocations: 2.146 MB / 0.6645 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1736, allocations: 8.031 kB / 0.6646 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008805/0.1825, allocations: 1.309 MB / 0.6658 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.185, allocations: 1.298 MB / 0.6671 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.1852, allocations: 111.4 kB / 0.6672 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/0.1855, allocations: 152.2 kB / 0.6674 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005352/0.1909, allocations: 3.441 MB / 0.6707 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.191, allocations: 7.938 kB / 0.6707 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/0.1912, allocations: 59.97 kB / 0.6708 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002392/0.1914, allocations: 211.1 kB / 0.671 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004494/0.1959, allocations: 3.124 MB / 0.674 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/0.2117, allocations: 13.54 MB / 0.6872 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.2141, allocations: 1.741 MB / 0.6889 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001848/0.216, allocations: 1.433 MB / 0.6903 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.846e-05/0.2161, allocations: 20.92 kB / 0.6904 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.2161, allocations: 43.56 kB / 0.6904 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=104): time 3.216e-06/0.2161, allocations: 0 / 0.6904 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of matching and sorting (n=183): time 0.1449/0.3611, allocations: 36.69 MB / 0.7262 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.3612, allocations: 73.41 kB / 0.7263 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.3625, allocations: 1.053 MB / 0.7273 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.3628, allocations: 57.7 kB / 0.7274 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/0.3633, allocations: 0.7835 MB / 0.7282 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005297/0.3638, allocations: 0.6316 MB / 0.7288 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006839/0.3645, allocations: 363.3 kB / 0.7291 GB, free: 236 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3646, allocations: 305.1 kB / 0.7294 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002534/0.3672, allocations: 1.928 MB / 0.7313 GB, free: 14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002771/0.3699, allocations: 2.289 MB / 0.7335 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005431/0.3754, allocations: 4.391 MB / 0.7378 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.3754, allocations: 8 kB / 0.7378 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.2935/0.6689, allocations: 9.019 MB / 0.7466 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/0.669, allocations: 8.781 kB / 0.7466 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/0.669, allocations: 9.766 kB / 0.7466 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01732/0.6864, allocations: 4.974 MB / 0.7515 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008036/0.6872, allocations: 191.3 kB / 0.7517 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04697/0.7342, allocations: 38.88 MB / 0.7897 GB, free: 76.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.7361, allocations: 103.9 kB / 0.7898 GB, free: 76.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/0.7363, allocations: 75.98 kB / 0.7898 GB, free: 76.64 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.00103/0.7373, allocations: 0.7937 MB / 0.7906 GB, free: 75.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/0.7376, allocations: 146.2 kB / 0.7907 GB, free: 75.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01663/0.7542, allocations: 8.892 MB / 0.7994 GB, free: 66.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.7543, allocations: 16 kB / 0.7994 GB, free: 66.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-05/0.7544, allocations: 34.3 kB / 0.7995 GB, free: 66.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/0.7544, allocations: 11.95 kB / 0.7995 GB, free: 66.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02122/0.7756, allocations: 13.39 MB / 0.8126 GB, free: 53.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/0.7757, allocations: 12 kB / 0.8126 GB, free: 53.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000435/0.7761, allocations: 123.8 kB / 0.8127 GB, free: 53.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01432/0.7904, allocations: 4.84 MB / 0.8174 GB, free: 48.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003269/0.7908, allocations: 36 kB / 0.8175 GB, free: 48.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04242/0.8332, allocations: 36.82 MB / 0.8534 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.8333, allocations: 4 kB / 0.8534 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0161/0.8494, allocations: 8.596 MB / 0.8618 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.8505, allocations: 0.6398 MB / 0.8624 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002953/0.8508, allocations: 32 kB / 0.8625 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.852, allocations: 99.78 kB / 0.8626 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006816/0.8527, allocations: 165.6 kB / 0.8627 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.8529, allocations: 48 kB / 0.8628 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000729/0.8536, allocations: 0.7382 MB / 0.8635 GB, free: 424 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8536, allocations: 0 / 0.8635 GB, free: 424 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002691/0.8563, allocations: 1.008 MB / 0.8645 GB, free: 15.4 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.0003045/0.8566, allocations: 140.2 kB / 0.8646 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009458/0.8661, allocations: 5.96 MB / 0.8704 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.8661, allocations: 0 / 0.8704 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007953/0.8741, allocations: 3.935 MB / 0.8743 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.8757, allocations: 248 kB / 0.8745 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008195/0.884, allocations: 5.36 MB / 0.8797 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/0.8857, allocations: 1.894 MB / 0.8816 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/0.886, allocations: 67.42 kB / 0.8817 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/0.886, allocations: 3.938 kB / 0.8817 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of Templates: time 0.07261/0.9586, allocations: 69.4 MB / 0.9494 GB, free: 8.289 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)