Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.001333/0.001334, allocations: 196 kB / 17.34 MB, free: 5.719 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7379/0.7379, allocations: 115.3 MB / 406.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 64.67 kB / 0.5577 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1731, allocations: 76.18 MB / 0.6321 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02564/0.1988, allocations: 20.22 MB / 0.6518 GB, free: 80 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01311/0.2119, allocations: 6.453 MB / 0.6581 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002685/0.2146, allocations: 87.56 kB / 0.6582 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.006228/0.221, allocations: 2.239 MB / 0.6604 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004661/0.2256, allocations: 1.248 MB / 0.6616 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003952/0.2296, allocations: 1.287 MB / 0.6629 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006563/0.2362, allocations: 4.862 MB / 0.6676 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00666/0.2429, allocations: 5.591 MB / 0.6731 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003686/0.2466, allocations: 2.127 MB / 0.6752 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003963/0.2505, allocations: 2.34 MB / 0.6775 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008806/0.2514, allocations: 428 kB / 0.6779 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.2538, allocations: 0.9987 MB / 0.6788 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00182/0.2556, allocations: 1.669 MB / 0.6805 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0027/0.2583, allocations: 1.91 MB / 0.6823 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007645/0.266, allocations: 6.517 MB / 0.6887 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.266, allocations: 7.984 kB / 0.6887 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.765e-06/0.266, allocations: 0 / 0.6887 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001339/0.2662, allocations: 0 / 0.6887 GB, free: 10.17 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008112/0.2743, allocations: 3.452 MB / 0.6921 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.2744, allocations: 12.03 kB / 0.6921 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/0.2778, allocations: 0.6371 MB / 0.6927 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003849/0.2817, allocations: 2.041 MB / 0.6947 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.2819, allocations: 218.3 kB / 0.6949 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004603/0.2824, allocations: 300.2 kB / 0.6952 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009704/0.2921, allocations: 4.886 MB / 0.7 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.469e-05/0.2922, allocations: 15.88 kB / 0.7 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003356/0.2926, allocations: 128 kB / 0.7001 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005809/0.2931, allocations: 229.7 kB / 0.7003 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008014/0.3012, allocations: 3.754 MB / 0.704 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02616/0.3274, allocations: 21.41 MB / 0.7249 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.3295, allocations: 1.306 MB / 0.7262 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.3311, allocations: 1.05 MB / 0.7272 GB, free: 420 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.765e-05/0.3312, allocations: 13 kB / 0.7272 GB, free: 404 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.566e-05/0.3313, allocations: 47.55 kB / 0.7273 GB, free: 348 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 3.537e-06/0.3313, allocations: 7.938 kB / 0.7273 GB, free: 340 kB / 0.5606 GB Notification: Performance of matching and sorting (n=138): time 0.02663/0.3579, allocations: 8.649 MB / 0.7357 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/0.3581, allocations: 64.72 kB / 0.7358 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.3602, allocations: 1.126 MB / 0.7369 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001638/0.3604, allocations: 49.7 kB / 0.7369 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.3615, allocations: 1.311 MB / 0.7382 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005649/0.362, allocations: 477 kB / 0.7387 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005828/0.3626, allocations: 295.3 kB / 0.7389 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3628, allocations: 313.1 kB / 0.7392 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.3643, allocations: 0.9096 MB / 0.7401 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.3662, allocations: 1.33 MB / 0.7414 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003693/0.3699, allocations: 2.43 MB / 0.7438 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.179e-05/0.3699, allocations: 4 kB / 0.7438 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007167/0.3771, allocations: 3.46 MB / 0.7472 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.3772, allocations: 8 kB / 0.7472 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/0.3772, allocations: 16.16 kB / 0.7472 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003365/0.3806, allocations: 1.184 MB / 0.7484 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.3816, allocations: 255.6 kB / 0.7486 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3833/0.7649, allocations: 13.83 MB / 0.7621 GB, free: 113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.7663, allocations: 89.3 kB / 0.7622 GB, free: 112.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.7664, allocations: 62.64 kB / 0.7623 GB, free: 112.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00177/0.7682, allocations: 1.117 MB / 0.7633 GB, free: 112.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/0.7685, allocations: 163 kB / 0.7635 GB, free: 112.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005861/0.7744, allocations: 3.173 MB / 0.7666 GB, free: 111.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.7744, allocations: 17.17 kB / 0.7666 GB, free: 111.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.7744, allocations: 12.62 kB / 0.7666 GB, free: 111.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.7744, allocations: 6.797 kB / 0.7666 GB, free: 111.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.7846, allocations: 6.246 MB / 0.7727 GB, free: 108.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.7846, allocations: 4.781 kB / 0.7727 GB, free: 108.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006012/0.7852, allocations: 148.6 kB / 0.7729 GB, free: 108.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002931/0.7882, allocations: 1.07 MB / 0.7739 GB, free: 108.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.589e-05/0.7883, allocations: 31.03 kB / 0.774 GB, free: 108.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01444/0.8027, allocations: 13.52 MB / 0.7872 GB, free: 100.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.8027, allocations: 13.12 kB / 0.7872 GB, free: 100.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004711/0.8075, allocations: 3.157 MB / 0.7903 GB, free: 98.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008003/0.8083, allocations: 426.3 kB / 0.7907 GB, free: 98.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/0.8087, allocations: 31.58 kB / 0.7907 GB, free: 98.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000997/0.8097, allocations: 83.05 kB / 0.7908 GB, free: 98.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003703/0.81, allocations: 126 kB / 0.7909 GB, free: 98.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.673e-05/0.8101, allocations: 41.77 kB / 0.7909 GB, free: 98.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001137/0.8113, allocations: 0.7636 MB / 0.7917 GB, free: 97.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8113, allocations: 0 / 0.7917 GB, free: 97.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00199/0.8133, allocations: 0.6548 MB / 0.7923 GB, free: 97.84 MB / 0.5919 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002707/0.8136, allocations: 146 kB / 0.7925 GB, free: 97.71 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004339/0.8179, allocations: 3.133 MB / 0.7955 GB, free: 95.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.8179, allocations: 3.875 kB / 0.7955 GB, free: 95.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002553/0.8205, allocations: 1.959 MB / 0.7974 GB, free: 94.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.8227, allocations: 0.5011 MB / 0.7979 GB, free: 94.05 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00845/0.8312, allocations: 5.367 MB / 0.8032 GB, free: 88.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002261/0.8335, allocations: 2.336 MB / 0.8054 GB, free: 86.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001055/0.8345, allocations: 348.5 kB / 0.8058 GB, free: 85.94 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.8348, allocations: 91.42 kB / 0.8059 GB, free: 85.85 MB / 0.5919 GB Notification: Performance of SimCode: time 1.142e-06/0.8348, allocations: 0 / 0.8059 GB, free: 85.85 MB / 0.5919 GB Notification: Performance of Templates: time 0.04546/0.8803, allocations: 33.2 MB / 0.8383 GB, free: 53.13 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)