Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 106.9 kB / 16.41 MB, free: 6.496 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.001071/0.001071, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.821/0.821, allocations: 126.1 MB / 417.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 66.97 kB / 0.5731 GB, free: 27.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1784, allocations: 78.7 MB / 0.65 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04118/0.2196, allocations: 35.1 MB / 0.6842 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02434/0.244, allocations: 9.944 MB / 0.694 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0065/0.2506, allocations: 143.3 kB / 0.6941 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01285/0.2635, allocations: 3.804 MB / 0.6978 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01013/0.2737, allocations: 2.036 MB / 0.6998 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008099/0.2818, allocations: 1.965 MB / 0.7017 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01433/0.2962, allocations: 7.975 MB / 0.7095 GB, free: 6.969 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01281/0.309, allocations: 9.522 MB / 0.7188 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0067/0.3158, allocations: 3.369 MB / 0.7221 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006728/0.3225, allocations: 3.738 MB / 0.7257 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001996/0.3245, allocations: 0.6835 MB / 0.7264 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003923/0.3285, allocations: 1.443 MB / 0.7278 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002917/0.3314, allocations: 2.612 MB / 0.7304 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004296/0.3357, allocations: 3.108 MB / 0.7334 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.348, allocations: 10.41 MB / 0.7436 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.3481, allocations: 0 / 0.7436 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3481, allocations: 4 kB / 0.7436 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003722/0.3485, allocations: 0 / 0.7436 GB, free: 3.883 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.3894/0.7379, allocations: 5.528 MB / 0.749 GB, free: 84.63 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.738, allocations: 13.08 kB / 0.749 GB, free: 84.63 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006133/0.7442, allocations: 0.9934 MB / 0.75 GB, free: 84.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007333/0.7515, allocations: 3.194 MB / 0.7531 GB, free: 83.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004248/0.752, allocations: 360.4 kB / 0.7534 GB, free: 82.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001671/0.7536, allocations: 464.5 kB / 0.7539 GB, free: 82.74 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02472/0.7784, allocations: 7.903 MB / 0.7616 GB, free: 79.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001937/0.7786, allocations: 29.33 kB / 0.7616 GB, free: 79.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007737/0.7794, allocations: 207.5 kB / 0.7618 GB, free: 79.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007728/0.7802, allocations: 368 kB / 0.7622 GB, free: 79.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/0.7962, allocations: 5.937 MB / 0.768 GB, free: 77.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03729/0.8335, allocations: 36.01 MB / 0.8031 GB, free: 43.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/0.8362, allocations: 2.141 MB / 0.8052 GB, free: 41.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.8377, allocations: 1.477 MB / 0.8066 GB, free: 40.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.864e-05/0.8378, allocations: 21.3 kB / 0.8067 GB, free: 40.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.8379, allocations: 52.81 kB / 0.8067 GB, free: 40.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=157): time 3.948e-06/0.8379, allocations: 0 / 0.8067 GB, free: 40.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=160): time 0.01174/0.8496, allocations: 7.605 MB / 0.8141 GB, free: 32.51 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.8497, allocations: 68.72 kB / 0.8142 GB, free: 32.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.8518, allocations: 1.868 MB / 0.816 GB, free: 30.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.852, allocations: 57.7 kB / 0.8161 GB, free: 30.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009175/0.8529, allocations: 2.196 MB / 0.8182 GB, free: 28.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004016/0.8533, allocations: 0.5766 MB / 0.8188 GB, free: 27.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006232/0.8539, allocations: 411.9 kB / 0.8192 GB, free: 27.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.854, allocations: 301.1 kB / 0.8195 GB, free: 26.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.8554, allocations: 1.062 MB / 0.8205 GB, free: 25.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.857, allocations: 1.756 MB / 0.8222 GB, free: 23.85 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/0.8599, allocations: 3.049 MB / 0.8252 GB, free: 20.49 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.956e-06/0.8599, allocations: 8 kB / 0.8252 GB, free: 20.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005373/0.8653, allocations: 3.933 MB / 0.8291 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.8654, allocations: 16.94 kB / 0.8291 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.8654, allocations: 24 kB / 0.8291 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002086/0.8675, allocations: 0.9308 MB / 0.83 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.8688, allocations: 435.2 kB / 0.8304 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/0.8868, allocations: 22.76 MB / 0.8526 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/0.8894, allocations: 128 kB / 0.8528 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002355/0.8897, allocations: 95.98 kB / 0.8529 GB, free: 6.434 MB / 0.5919 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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 prepare postOptimizeDAE: time 0.003377/0.8931, allocations: 1.649 MB / 0.8545 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006848/0.8938, allocations: 274.4 kB / 0.8547 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005716/0.8995, allocations: 3.248 MB / 0.8579 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.8995, allocations: 23.94 kB / 0.8579 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/0.8995, allocations: 12 kB / 0.8579 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.8996, allocations: 7.969 kB / 0.8579 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/0.9127, allocations: 7.555 MB / 0.8653 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/0.9128, allocations: 4 kB / 0.8653 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009482/0.9138, allocations: 222.4 kB / 0.8655 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002465/0.9162, allocations: 0.8927 MB / 0.8664 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.9164, allocations: 32 kB / 0.8664 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02177/0.9381, allocations: 22.74 MB / 0.8886 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/0.9382, allocations: 15.88 kB / 0.8887 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006004/0.9442, allocations: 3.386 MB / 0.892 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001525/0.9458, allocations: 0.5461 MB / 0.8925 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003477/0.9461, allocations: 35.94 kB / 0.8925 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.9473, allocations: 91.88 kB / 0.8926 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004255/0.9477, allocations: 141 kB / 0.8928 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.9478, allocations: 51.94 kB / 0.8928 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001788/0.9496, allocations: 1.221 MB / 0.894 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9496, allocations: 4 kB / 0.894 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00301/0.9526, allocations: 0.9062 MB / 0.8949 GB, free: 9.379 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003043/0.953, allocations: 155 kB / 0.895 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006977/0.9599, allocations: 4.436 MB / 0.8994 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.96, allocations: 0 / 0.8994 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004208/0.9642, allocations: 3.007 MB / 0.9023 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00375/0.968, allocations: 0.8168 MB / 0.9031 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.9809, allocations: 7.722 MB / 0.9106 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003238/0.9842, allocations: 3.209 MB / 0.9138 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001745/0.986, allocations: 0.5254 MB / 0.9143 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003614/0.9863, allocations: 139.4 kB / 0.9144 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of SimCode: time 9.42e-07/0.9864, allocations: 4 kB / 0.9144 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of Templates: time 0.06759/1.054, allocations: 41.6 MB / 0.9551 GB, free: 12.01 MB / 0.7012 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)