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.00129/0.001289, allocations: 112.2 kB / 16.41 MB, free: 6.5 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.001562/0.001562, allocations: 197.2 kB / 17.34 MB, free: 5.758 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6761/0.6761, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 65.64 kB / 0.5577 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1357, allocations: 76.17 MB / 0.6321 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01081/0.1466, allocations: 10.06 MB / 0.6419 GB, free: 10.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005204/0.1518, allocations: 3.182 MB / 0.645 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006666/0.1525, allocations: 35.81 kB / 0.6451 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.1542, allocations: 0.5946 MB / 0.6456 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.1556, allocations: 0.7427 MB / 0.6464 GB, free: 5.715 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.1572, allocations: 0.7432 MB / 0.6471 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002822/0.16, allocations: 2.992 MB / 0.65 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.1625, allocations: 2.594 MB / 0.6525 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.164, allocations: 1.266 MB / 0.6538 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/0.1659, allocations: 1.554 MB / 0.6553 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003281/0.1662, allocations: 236 kB / 0.6555 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008895/0.1671, allocations: 0.5032 MB / 0.656 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009632/0.1681, allocations: 1.064 MB / 0.6571 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009701/0.1691, allocations: 1.116 MB / 0.6581 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003096/0.1722, allocations: 3.681 MB / 0.6617 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1722, allocations: 0 / 0.6617 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1722, allocations: 0 / 0.6617 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.627e-05/0.1722, allocations: 0 / 0.6617 GB, free: 5.891 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.00333/0.1756, allocations: 2.154 MB / 0.6638 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.1756, allocations: 8.031 kB / 0.6639 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008464/0.1841, allocations: 1.309 MB / 0.6651 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.186, allocations: 1.298 MB / 0.6664 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.785e-05/0.1861, allocations: 115.4 kB / 0.6665 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002722/0.1864, allocations: 148.3 kB / 0.6667 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004603/0.191, allocations: 3.441 MB / 0.67 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.191, allocations: 7.938 kB / 0.67 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002008/0.1912, allocations: 67.95 kB / 0.6701 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002365/0.1915, allocations: 207.1 kB / 0.6703 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0044/0.1959, allocations: 3.128 MB / 0.6733 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.211, allocations: 13.54 MB / 0.6866 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/0.2134, allocations: 1.739 MB / 0.6883 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/0.2152, allocations: 1.436 MB / 0.6897 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-05/0.2153, allocations: 13 kB / 0.6897 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.2153, allocations: 43.56 kB / 0.6897 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=104): time 3.016e-06/0.2153, allocations: 0 / 0.6897 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=183): time 0.1388/0.3542, allocations: 36.69 MB / 0.7255 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.3543, allocations: 73.41 kB / 0.7256 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.3559, allocations: 1.053 MB / 0.7266 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000311/0.3563, allocations: 57.7 kB / 0.7267 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005581/0.3568, allocations: 0.7796 MB / 0.7275 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007189/0.3576, allocations: 0.6355 MB / 0.7281 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008931/0.3585, allocations: 359.3 kB / 0.7284 GB, free: 292 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3586, allocations: 305.1 kB / 0.7287 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002653/0.3613, allocations: 1.928 MB / 0.7306 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002866/0.3642, allocations: 2.285 MB / 0.7328 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005533/0.3697, allocations: 4.394 MB / 0.7371 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.699e-06/0.3697, allocations: 4 kB / 0.7371 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.2952/0.665, allocations: 9.014 MB / 0.7459 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.665, allocations: 12.94 kB / 0.7459 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.6651, allocations: 9.125 kB / 0.7459 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01642/0.6815, allocations: 4.972 MB / 0.7508 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007926/0.6823, allocations: 196 kB / 0.751 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04615/0.7285, allocations: 38.88 MB / 0.789 GB, free: 76.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.7303, allocations: 107.9 kB / 0.7891 GB, free: 76.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.7305, allocations: 71.98 kB / 0.7891 GB, free: 76.75 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.001009/0.7315, allocations: 0.7976 MB / 0.7899 GB, free: 75.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.7318, allocations: 142.2 kB / 0.79 GB, free: 75.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0157/0.7475, allocations: 8.892 MB / 0.7987 GB, free: 66.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.7475, allocations: 20.89 kB / 0.7987 GB, free: 66.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.161e-05/0.7475, allocations: 28 kB / 0.7988 GB, free: 66.83 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.7475, allocations: 10.38 kB / 0.7988 GB, free: 66.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01954/0.7671, allocations: 13.4 MB / 0.8119 GB, free: 53.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.7671, allocations: 12.03 kB / 0.8119 GB, free: 53.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.7675, allocations: 122.1 kB / 0.812 GB, free: 53.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01366/0.7812, allocations: 4.842 MB / 0.8167 GB, free: 48.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002054/0.7814, allocations: 36 kB / 0.8168 GB, free: 48.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04138/0.8228, allocations: 36.8 MB / 0.8527 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.8229, allocations: 4 kB / 0.8527 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/0.8387, allocations: 8.604 MB / 0.8611 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009965/0.8398, allocations: 0.6375 MB / 0.8617 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/0.84, allocations: 36 kB / 0.8618 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.8412, allocations: 99.86 kB / 0.8619 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007444/0.842, allocations: 169.5 kB / 0.862 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.8421, allocations: 44 kB / 0.8621 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00069/0.8428, allocations: 0.7421 MB / 0.8628 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8428, allocations: 0 / 0.8628 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002535/0.8453, allocations: 1.008 MB / 0.8638 GB, free: 15.51 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.000293/0.8456, allocations: 140.1 kB / 0.8639 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009435/0.8551, allocations: 5.948 MB / 0.8697 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.8551, allocations: 0 / 0.8697 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007487/0.8626, allocations: 3.936 MB / 0.8736 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.8641, allocations: 237.9 kB / 0.8738 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007687/0.8718, allocations: 5.071 MB / 0.8787 GB, free: 100 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/0.8734, allocations: 1.863 MB / 0.8806 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007282/0.8742, allocations: 356.8 kB / 0.8809 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.8744, allocations: 63.44 kB / 0.881 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of SimCode: time 9.42e-07/0.8744, allocations: 3.938 kB / 0.881 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of Templates: time 0.07841/0.9528, allocations: 61.2 MB / 0.9407 GB, free: 0.7305 MB / 0.6544 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)