Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 98.92 kB / 16.26 MB, free: 5.934 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.001203/0.001203, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7562/0.7562, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.91 kB / 0.4911 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3776, allocations: 77.93 MB / 0.5672 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03683/0.4145, allocations: 37.92 MB / 0.6043 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01911/0.4336, allocations: 11 MB / 0.615 GB, free: 9.758 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00487/0.4385, allocations: 159.2 kB / 0.6152 GB, free: 9.602 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01206/0.4507, allocations: 4.368 MB / 0.6194 GB, free: 5.242 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007291/0.458, allocations: 2.218 MB / 0.6216 GB, free: 3.027 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00615/0.4642, allocations: 2.163 MB / 0.6237 GB, free: 0.875 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01128/0.4755, allocations: 9.283 MB / 0.6328 GB, free: 7.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01607/0.4916, allocations: 11.35 MB / 0.6439 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006933/0.4985, allocations: 3.973 MB / 0.6477 GB, free: 8.121 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007555/0.5061, allocations: 4.514 MB / 0.6521 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002775/0.5089, allocations: 0.8203 MB / 0.653 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004595/0.5135, allocations: 1.584 MB / 0.6545 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004894/0.5184, allocations: 3.154 MB / 0.6576 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.007545/0.526, allocations: 3.657 MB / 0.6611 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.5401, allocations: 12.23 MB / 0.6731 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.5402, allocations: 0 / 0.6731 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5402, allocations: 0 / 0.6731 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000349/0.5405, allocations: 0 / 0.6731 GB, free: 14.09 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01532/0.5559, allocations: 6.315 MB / 0.6793 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.5559, allocations: 8.625 kB / 0.6793 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005655/0.5616, allocations: 1.063 MB / 0.6803 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006632/0.5682, allocations: 3.427 MB / 0.6837 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/0.5686, allocations: 423.8 kB / 0.6841 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001517/0.5702, allocations: 0.551 MB / 0.6846 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0192/0.5894, allocations: 9.377 MB / 0.6938 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/0.5895, allocations: 15.88 kB / 0.6938 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006441/0.5902, allocations: 251.9 kB / 0.694 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005898/0.5908, allocations: 422.9 kB / 0.6944 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/0.604, allocations: 7.123 MB / 0.7014 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04447/0.6485, allocations: 41.32 MB / 0.7417 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005012/0.6535, allocations: 3.1 MB / 0.7447 GB, free: 500 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2761/0.9297, allocations: 2.133 MB / 0.7468 GB, free: 153 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.9299, allocations: 26.67 kB / 0.7469 GB, free: 153 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.9299, allocations: 65.72 kB / 0.7469 GB, free: 153 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 4.419e-06/0.93, allocations: 0 / 0.7469 GB, free: 153 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.02539/0.9554, allocations: 10.55 MB / 0.7572 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.9554, allocations: 78.59 kB / 0.7573 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003091/0.9585, allocations: 2.005 MB / 0.7593 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001922/0.9587, allocations: 63.52 kB / 0.7593 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.9599, allocations: 2.398 MB / 0.7617 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000537/0.9604, allocations: 0.7354 MB / 0.7624 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007739/0.9612, allocations: 476.1 kB / 0.7628 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.593e-05/0.9612, allocations: 302.6 kB / 0.7631 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001918/0.9632, allocations: 1.371 MB / 0.7645 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002335/0.9655, allocations: 2.108 MB / 0.7665 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004623/0.9702, allocations: 3.77 MB / 0.7702 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.388e-05/0.9702, allocations: 7.219 kB / 0.7702 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008068/0.9783, allocations: 5.07 MB / 0.7752 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.9783, allocations: 12.47 kB / 0.7752 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.624e-05/0.9784, allocations: 25.78 kB / 0.7752 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003313/0.9817, allocations: 1.603 MB / 0.7768 GB, free: 139 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.9833, allocations: 450.6 kB / 0.7772 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/1.001, allocations: 18.59 MB / 0.7953 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/1.004, allocations: 151.2 kB / 0.7955 GB, free: 122.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003381/1.004, allocations: 104 kB / 0.7956 GB, free: 122.6 MB / 0.5762 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003008/1.007, allocations: 1.946 MB / 0.7975 GB, free: 120.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006471/1.008, allocations: 292.6 kB / 0.7978 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006042/1.014, allocations: 4.451 MB / 0.8021 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/1.014, allocations: 21.08 kB / 0.8021 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.992e-05/1.014, allocations: 16 kB / 0.8021 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/1.014, allocations: 7.969 kB / 0.8022 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/1.028, allocations: 9.667 MB / 0.8116 GB, free: 106 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.028, allocations: 4 kB / 0.8116 GB, free: 106 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000954/1.029, allocations: 231.6 kB / 0.8118 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002857/1.032, allocations: 1.447 MB / 0.8132 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/1.032, allocations: 36 kB / 0.8133 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01738/1.049, allocations: 18.58 MB / 0.8314 GB, free: 85.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.049, allocations: 7.938 kB / 0.8314 GB, free: 85.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006118/1.055, allocations: 4.548 MB / 0.8359 GB, free: 80.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/1.057, allocations: 0.6303 MB / 0.8365 GB, free: 79.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006446/1.058, allocations: 47.47 kB / 0.8365 GB, free: 79.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/1.059, allocations: 111.9 kB / 0.8366 GB, free: 79.72 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004379/1.059, allocations: 189.6 kB / 0.8368 GB, free: 79.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/1.06, allocations: 56 kB / 0.8369 GB, free: 79.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001776/1.061, allocations: 1.319 MB / 0.8382 GB, free: 78.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.3e-07/1.061, allocations: 0 / 0.8382 GB, free: 78.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003462/1.065, allocations: 1.141 MB / 0.8393 GB, free: 77.02 MB / 0.5762 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003415/1.065, allocations: 171 kB / 0.8394 GB, free: 76.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008467/1.074, allocations: 5.904 MB / 0.8452 GB, free: 70.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.074, allocations: 0 / 0.8452 GB, free: 70.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003764/1.078, allocations: 2.917 MB / 0.848 GB, free: 67.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004256/1.082, allocations: 0.8824 MB / 0.8489 GB, free: 67.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.099, allocations: 9.39 MB / 0.8581 GB, free: 57.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004866/1.104, allocations: 3.701 MB / 0.8617 GB, free: 53.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002303/1.106, allocations: 0.5557 MB / 0.8622 GB, free: 53.35 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004642/1.106, allocations: 143.4 kB / 0.8624 GB, free: 53.21 MB / 0.5762 GB Notification: Performance of SimCode: time 6.62e-07/1.106, allocations: 4 kB / 0.8624 GB, free: 53.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.07344/1.18, allocations: 52.86 MB / 0.914 GB, free: 1.129 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)