Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 105.5 kB / 15.99 MB, free: 6.348 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.001555/0.001555, allocations: 196.6 kB / 16.91 MB, free: 6.191 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 / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7714/0.7714, allocations: 122.9 MB / 413.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002012, allocations: 63.89 kB / 0.4906 GB, free: 7.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4052, allocations: 77.92 MB / 0.5667 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02812/0.4334, allocations: 30.47 MB / 0.5965 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01855/0.452, allocations: 13.45 MB / 0.6096 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005227/0.4573, allocations: 131.2 kB / 0.6098 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008911/0.4663, allocations: 2.985 MB / 0.6127 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.4768, allocations: 2.451 MB / 0.6151 GB, free: 9.512 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006937/0.4837, allocations: 1.848 MB / 0.6169 GB, free: 7.668 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01184/0.4956, allocations: 7.647 MB / 0.6243 GB, free: 4 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0173/0.5129, allocations: 9.938 MB / 0.634 GB, free: 5.957 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006762/0.5197, allocations: 3.462 MB / 0.6374 GB, free: 2.484 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006214/0.526, allocations: 3.532 MB / 0.6409 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002281/0.5283, allocations: 0.6015 MB / 0.6415 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005142/0.5335, allocations: 1.49 MB / 0.6429 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004556/0.5381, allocations: 2.37 MB / 0.6452 GB, free: 10.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006852/0.545, allocations: 2.89 MB / 0.6481 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.5581, allocations: 9.469 MB / 0.6573 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.5581, allocations: 7.984 kB / 0.6573 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5582, allocations: 0 / 0.6573 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002696/0.5584, allocations: 0 / 0.6573 GB, free: 14.07 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01146/0.5699, allocations: 5.136 MB / 0.6623 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.57, allocations: 8.625 kB / 0.6623 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006006/0.576, allocations: 1.002 MB / 0.6633 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005868/0.5819, allocations: 2.896 MB / 0.6661 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003253/0.5822, allocations: 316.8 kB / 0.6664 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001232/0.5835, allocations: 416 kB / 0.6668 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0138/0.5973, allocations: 6.791 MB / 0.6735 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/0.5974, allocations: 19.78 kB / 0.6735 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004906/0.5979, allocations: 184 kB / 0.6737 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008664/0.5988, allocations: 372 kB / 0.674 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/0.609, allocations: 5.118 MB / 0.679 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03491/0.6439, allocations: 30.73 MB / 0.709 GB, free: 5.855 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.6459, allocations: 1.395 MB / 0.7104 GB, free: 4.453 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.6476, allocations: 1.328 MB / 0.7117 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.276e-05/0.6477, allocations: 13.31 kB / 0.7117 GB, free: 3.113 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.6477, allocations: 59.75 kB / 0.7118 GB, free: 3.047 MB / 0.545 GB Notification: Performance of pre-optimization done (n=130): time 3.066e-06/0.6477, allocations: 0 / 0.7118 GB, free: 3.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=199): time 0.08329/0.731, allocations: 23.07 MB / 0.7343 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.7311, allocations: 73.41 kB / 0.7344 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003044/0.7342, allocations: 2.058 MB / 0.7364 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003145/0.7345, allocations: 61.7 kB / 0.7364 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001516/0.736, allocations: 2.014 MB / 0.7384 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00078/0.7368, allocations: 0.6777 MB / 0.7391 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007669/0.7376, allocations: 412.2 kB / 0.7394 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.7377, allocations: 309 kB / 0.7397 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/0.7398, allocations: 1.43 MB / 0.7411 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/0.7424, allocations: 2.01 MB / 0.7431 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3063/1.049, allocations: 3.689 MB / 0.7467 GB, free: 152 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-05/1.049, allocations: 4.906 kB / 0.7467 GB, free: 152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01194/1.061, allocations: 5.665 MB / 0.7522 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/1.061, allocations: 14.25 kB / 0.7523 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/1.061, allocations: 17.94 kB / 0.7523 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006505/1.067, allocations: 2.093 MB / 0.7543 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/1.069, allocations: 379.4 kB / 0.7547 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03037/1.099, allocations: 38.46 MB / 0.7922 GB, free: 118.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/1.102, allocations: 135.5 kB / 0.7924 GB, free: 118.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/1.102, allocations: 90.78 kB / 0.7924 GB, free: 118.3 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.002099/1.104, allocations: 1.503 MB / 0.7939 GB, free: 117.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004711/1.104, allocations: 288.5 kB / 0.7942 GB, free: 117.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008417/1.113, allocations: 5.215 MB / 0.7993 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/1.113, allocations: 19.06 kB / 0.7993 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.509e-05/1.113, allocations: 15.16 kB / 0.7993 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/1.113, allocations: 15.73 kB / 0.7993 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/1.126, allocations: 9.666 MB / 0.8088 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/1.126, allocations: 8 kB / 0.8088 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007525/1.127, allocations: 219.2 kB / 0.809 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005054/1.132, allocations: 1.857 MB / 0.8108 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/1.132, allocations: 40 kB / 0.8108 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02714/1.16, allocations: 37.46 MB / 0.8474 GB, free: 66.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/1.16, allocations: 11.94 kB / 0.8474 GB, free: 66.67 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007784/1.167, allocations: 4.916 MB / 0.8522 GB, free: 61.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/1.169, allocations: 0.607 MB / 0.8528 GB, free: 60.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004148/1.169, allocations: 47.92 kB / 0.8529 GB, free: 60.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.171, allocations: 127.8 kB / 0.853 GB, free: 60.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00059/1.171, allocations: 193.5 kB / 0.8532 GB, free: 60.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/1.171, allocations: 60 kB / 0.8532 GB, free: 60.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001542/1.173, allocations: 1.378 MB / 0.8546 GB, free: 59.17 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.173, allocations: 3.938 kB / 0.8546 GB, free: 59.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003114/1.176, allocations: 1.047 MB / 0.8556 GB, free: 58.12 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002682/1.176, allocations: 166.8 kB / 0.8558 GB, free: 57.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01007/1.186, allocations: 7.211 MB / 0.8628 GB, free: 50.53 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.186, allocations: 4 kB / 0.8628 GB, free: 50.53 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005197/1.192, allocations: 4.406 MB / 0.8671 GB, free: 45.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/1.196, allocations: 0.9915 MB / 0.8681 GB, free: 44.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/1.207, allocations: 10.06 MB / 0.8779 GB, free: 34.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00244/1.21, allocations: 3.123 MB / 0.881 GB, free: 31.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001748/1.212, allocations: 0.5121 MB / 0.8815 GB, free: 31.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/1.212, allocations: 151.4 kB / 0.8816 GB, free: 31.08 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/1.212, allocations: 4 kB / 0.8816 GB, free: 31.08 MB / 0.5762 GB Notification: Performance of Templates: time 0.09073/1.303, allocations: 60.48 MB / 0.9407 GB, free: 3.484 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)