Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 103.9 kB / 15.98 MB, free: 6.352 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.001118/0.001118, allocations: 191 kB / 16.91 MB, free: 6.195 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.366/1.366, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7711/0.7711, allocations: 122.9 MB / 413.6 MB, free: 52 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.91 kB / 0.4906 GB, free: 7.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3692, allocations: 77.91 MB / 0.5667 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.02014/0.3894, allocations: 11.9 MB / 0.5783 GB, free: 24.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.4021, allocations: 5.635 MB / 0.5838 GB, free: 20.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.404, allocations: 38.41 kB / 0.5839 GB, free: 20.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00382/0.4079, allocations: 0.9783 MB / 0.5848 GB, free: 20.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00271/0.4106, allocations: 0.6178 MB / 0.5854 GB, free: 19.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003271/0.4139, allocations: 0.9003 MB / 0.5863 GB, free: 19.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003936/0.4179, allocations: 2.6 MB / 0.5888 GB, free: 17.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007971/0.4259, allocations: 4.442 MB / 0.5932 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002303/0.4282, allocations: 1.201 MB / 0.5943 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002235/0.4305, allocations: 1.395 MB / 0.5957 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007048/0.4312, allocations: 252 kB / 0.5959 GB, free: 13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.4328, allocations: 0.5658 MB / 0.5965 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001219/0.4341, allocations: 0.9318 MB / 0.5974 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.436, allocations: 1.066 MB / 0.5984 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004024/0.44, allocations: 3.853 MB / 0.6022 GB, free: 6.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.44, allocations: 0 / 0.6022 GB, free: 6.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4401, allocations: 0 / 0.6022 GB, free: 6.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001114/0.4402, allocations: 0 / 0.6022 GB, free: 6.57 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005693/0.4459, allocations: 2.093 MB / 0.6043 GB, free: 4.422 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.522e-05/0.446, allocations: 8.625 kB / 0.6043 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003905/0.4499, allocations: 0.744 MB / 0.605 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.4519, allocations: 1.204 MB / 0.6062 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.982e-05/0.452, allocations: 119.6 kB / 0.6063 GB, free: 2.301 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003739/0.4524, allocations: 160.1 kB / 0.6064 GB, free: 2.145 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007001/0.4594, allocations: 2.968 MB / 0.6093 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.137e-05/0.4595, allocations: 0 / 0.6093 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004052/0.4599, allocations: 64 kB / 0.6094 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000587/0.4605, allocations: 171.1 kB / 0.6096 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007244/0.4678, allocations: 2.518 MB / 0.612 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02248/0.4903, allocations: 10.82 MB / 0.6226 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/0.4934, allocations: 0.9526 MB / 0.6235 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.4949, allocations: 0.5127 MB / 0.624 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002219/0.4951, allocations: 89.47 kB / 0.6241 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.4952, allocations: 38.94 kB / 0.6241 GB, free: 14.97 MB / 478.1 MB Notification: Performance of pre-optimization done (n=46): time 5.179e-06/0.4952, allocations: 3.938 kB / 0.6241 GB, free: 14.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=70): time 0.05815/0.5534, allocations: 8.066 MB / 0.632 GB, free: 6.828 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.5535, allocations: 59.97 kB / 0.6321 GB, free: 6.758 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.5552, allocations: 0.9298 MB / 0.633 GB, free: 5.816 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001773/0.5554, allocations: 41.7 kB / 0.633 GB, free: 5.77 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006748/0.5561, allocations: 0.7697 MB / 0.6338 GB, free: 4.984 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003803/0.5565, allocations: 248.5 kB / 0.634 GB, free: 4.738 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005639/0.5571, allocations: 214.8 kB / 0.6342 GB, free: 4.523 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.5573, allocations: 402.7 kB / 0.6346 GB, free: 4.121 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.5587, allocations: 0.8101 MB / 0.6354 GB, free: 3.305 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.5603, allocations: 1.155 MB / 0.6365 GB, free: 1.996 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/0.5632, allocations: 1.99 MB / 0.6385 GB, free: 15.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.5633, allocations: 4 kB / 0.6385 GB, free: 15.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01026/0.5735, allocations: 3.662 MB / 0.642 GB, free: 12.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.5736, allocations: 13.78 kB / 0.6421 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.5736, allocations: 12 kB / 0.6421 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008165/0.5818, allocations: 1.904 MB / 0.6439 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.5829, allocations: 235.6 kB / 0.6442 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/0.5994, allocations: 10.6 MB / 0.6545 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.601, allocations: 187.6 kB / 0.6547 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.6011, allocations: 48 kB / 0.6547 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002325/0.6034, allocations: 1.533 MB / 0.6562 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001525/0.605, allocations: 1.12 MB / 0.6573 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002813/0.6078, allocations: 1.939 MB / 0.6592 GB, free: 10 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.541e-06/0.6078, allocations: 0 / 0.6592 GB, free: 10 MB / 0.4981 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.008263/0.6161, allocations: 3.096 MB / 0.6622 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.6161, allocations: 15.88 kB / 0.6622 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.6162, allocations: 12 kB / 0.6623 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005219/0.6214, allocations: 1.203 MB / 0.6634 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.6226, allocations: 287.5 kB / 0.6637 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008698/0.6313, allocations: 5.836 MB / 0.6694 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.6328, allocations: 175.7 kB / 0.6696 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.6329, allocations: 44 kB / 0.6696 GB, free: 15.19 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003355/0.6332, allocations: 257.1 kB / 0.6699 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.6334, allocations: 86.97 kB / 0.6699 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00911/0.6425, allocations: 3.168 MB / 0.673 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.6426, allocations: 8 kB / 0.673 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.6426, allocations: 4 kB / 0.673 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.6426, allocations: 7.984 kB / 0.6731 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/0.6542, allocations: 5.274 MB / 0.6782 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.6542, allocations: 4 kB / 0.6782 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004448/0.6547, allocations: 103.8 kB / 0.6783 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007022/0.6617, allocations: 1.721 MB / 0.68 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.509e-05/0.6618, allocations: 20 kB / 0.68 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/0.6761, allocations: 9.997 MB / 0.6898 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.6761, allocations: 4 kB / 0.6898 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008452/0.6846, allocations: 3.03 MB / 0.6927 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007158/0.6853, allocations: 319.9 kB / 0.693 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.6855, allocations: 16 kB / 0.6931 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009822/0.6865, allocations: 135.8 kB / 0.6932 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/0.6869, allocations: 64.42 kB / 0.6932 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/0.687, allocations: 20 kB / 0.6933 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001067/0.688, allocations: 0.6746 MB / 0.6939 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.688, allocations: 0 / 0.6939 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002181/0.6902, allocations: 0.6914 MB / 0.6946 GB, free: 5.109 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002851/0.6905, allocations: 131.1 kB / 0.6947 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006529/0.6971, allocations: 3.729 MB / 0.6984 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.6971, allocations: 0 / 0.6984 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002128/0.6992, allocations: 1.262 MB / 0.6996 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.7007, allocations: 292.2 kB / 0.6999 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006182/0.7069, allocations: 4.148 MB / 0.7039 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001684/0.7086, allocations: 1.719 MB / 0.7056 GB, free: 9.699 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00151/0.7102, allocations: 0.5303 MB / 0.7061 GB, free: 9.164 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.7104, allocations: 59.42 kB / 0.7062 GB, free: 9.105 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.7104, allocations: 0 / 0.7062 GB, free: 9.105 MB / 0.545 GB Notification: Performance of Templates: time 0.05013/0.7605, allocations: 31.53 MB / 0.737 GB, free: 9.793 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)