Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 101.7 kB / 16.27 MB, free: 5.984 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.001509/0.00151, allocations: 187.6 kB / 17.19 MB, free: 5.613 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.424/1.424, allocations: 222.9 MB / 240.9 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.7834/0.7834, allocations: 126.1 MB / 417.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 67.89 kB / 0.495 GB, free: 3.492 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4005, allocations: 78.69 MB / 0.5718 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02376/0.4244, allocations: 26.64 MB / 0.5978 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.4366, allocations: 8.065 MB / 0.6057 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002588/0.4392, allocations: 119.4 kB / 0.6058 GB, free: 3.742 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00577/0.445, allocations: 2.763 MB / 0.6085 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004178/0.4492, allocations: 1.589 MB / 0.6101 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004433/0.4537, allocations: 1.667 MB / 0.6117 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008206/0.4619, allocations: 6.14 MB / 0.6177 GB, free: 7.578 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008966/0.4709, allocations: 7.431 MB / 0.625 GB, free: 84 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004064/0.475, allocations: 2.563 MB / 0.6275 GB, free: 13.51 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003947/0.479, allocations: 2.823 MB / 0.6302 GB, free: 10.68 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008814/0.4799, allocations: 0.5117 MB / 0.6307 GB, free: 10.17 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.4824, allocations: 1.283 MB / 0.632 GB, free: 8.883 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00195/0.4843, allocations: 2.054 MB / 0.634 GB, free: 6.824 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003109/0.4875, allocations: 2.377 MB / 0.6363 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008424/0.4959, allocations: 8.001 MB / 0.6441 GB, free: 12.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.496, allocations: 3.938 kB / 0.6441 GB, free: 12.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.496, allocations: 0 / 0.6441 GB, free: 12.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002536/0.4962, allocations: 3.938 kB / 0.6441 GB, free: 12.41 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.008676/0.5049, allocations: 4.228 MB / 0.6483 GB, free: 8.113 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.505, allocations: 8.031 kB / 0.6483 GB, free: 8.105 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004192/0.5092, allocations: 0.8039 MB / 0.649 GB, free: 7.297 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004161/0.5133, allocations: 2.424 MB / 0.6514 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.5135, allocations: 271.6 kB / 0.6517 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007021/0.5142, allocations: 380.5 kB / 0.652 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009571/0.5238, allocations: 5.988 MB / 0.6579 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.237e-05/0.5239, allocations: 19.78 kB / 0.6579 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003621/0.5243, allocations: 164 kB / 0.6581 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006113/0.5249, allocations: 282.9 kB / 0.6583 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007678/0.5326, allocations: 4.524 MB / 0.6627 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02857/0.5612, allocations: 27.65 MB / 0.6898 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.563, allocations: 1.123 MB / 0.6908 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.5644, allocations: 1.021 MB / 0.6918 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.982e-05/0.5644, allocations: 9 kB / 0.6919 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.857e-05/0.5645, allocations: 47.56 kB / 0.6919 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=110): time 3.376e-06/0.5645, allocations: 0 / 0.6919 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of matching and sorting (n=131): time 0.02198/0.5865, allocations: 9.683 MB / 0.7014 GB, free: 14.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.5866, allocations: 68.7 kB / 0.7014 GB, free: 14.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.5884, allocations: 1.49 MB / 0.7029 GB, free: 13.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.5885, allocations: 49.7 kB / 0.7029 GB, free: 13.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.5897, allocations: 1.667 MB / 0.7045 GB, free: 11.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003777/0.5901, allocations: 473.2 kB / 0.705 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004832/0.5906, allocations: 327.2 kB / 0.7053 GB, free: 10.56 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.345e-05/0.5907, allocations: 305.1 kB / 0.7056 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.592, allocations: 0.9174 MB / 0.7065 GB, free: 9.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/0.5938, allocations: 1.463 MB / 0.7079 GB, free: 7.645 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003163/0.597, allocations: 2.554 MB / 0.7104 GB, free: 4.848 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.597, allocations: 4 kB / 0.7104 GB, free: 4.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005733/0.6027, allocations: 3.285 MB / 0.7136 GB, free: 1.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.6028, allocations: 15.98 kB / 0.7136 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.6028, allocations: 16 kB / 0.7137 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002302/0.6051, allocations: 0.7457 MB / 0.7144 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.6067, allocations: 379.4 kB / 0.7148 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01636/0.6231, allocations: 17.04 MB / 0.7314 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.6248, allocations: 103.9 kB / 0.7315 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.6249, allocations: 75.98 kB / 0.7316 GB, free: 13.87 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001986/0.6269, allocations: 1.314 MB / 0.7328 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/0.6274, allocations: 197.7 kB / 0.733 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005092/0.6325, allocations: 2.788 MB / 0.7358 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.6325, allocations: 16 kB / 0.7358 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-05/0.6325, allocations: 4 kB / 0.7358 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.6325, allocations: 7.922 kB / 0.7358 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/0.6434, allocations: 6.225 MB / 0.7419 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.6434, allocations: 8.094 kB / 0.7419 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.6447, allocations: 227.7 kB / 0.7421 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002067/0.6467, allocations: 0.6749 MB / 0.7427 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.6469, allocations: 31.98 kB / 0.7428 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2731/0.92, allocations: 16.79 MB / 0.7592 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.9201, allocations: 10.56 kB / 0.7592 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006514/0.9266, allocations: 4.004 MB / 0.7631 GB, free: 138 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009121/0.9275, allocations: 454.4 kB / 0.7635 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/0.9278, allocations: 38.55 kB / 0.7636 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009144/0.9287, allocations: 79.52 kB / 0.7636 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003221/0.929, allocations: 126.3 kB / 0.7638 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.653e-05/0.9291, allocations: 37.75 kB / 0.7638 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001228/0.9304, allocations: 0.9919 MB / 0.7648 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9304, allocations: 2.297 kB / 0.7648 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00222/0.9326, allocations: 0.6848 MB / 0.7654 GB, free: 137.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002278/0.9328, allocations: 154.4 kB / 0.7656 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005704/0.9386, allocations: 4.107 MB / 0.7696 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/0.9386, allocations: 1.688 kB / 0.7696 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002765/0.9414, allocations: 2.289 MB / 0.7718 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/0.9442, allocations: 0.6632 MB / 0.7725 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009175/0.9534, allocations: 6.542 MB / 0.7789 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002045/0.9554, allocations: 2.666 MB / 0.7815 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001558/0.957, allocations: 481.8 kB / 0.7819 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.9573, allocations: 116.2 kB / 0.782 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/0.9573, allocations: 0 / 0.782 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.04684/1.004, allocations: 33.64 MB / 0.8149 GB, free: 99.16 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)