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.0008445/0.0008445, allocations: 99.28 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 186.4 kB / 16.92 MB, free: 6.75 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.478/1.478, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7526/0.7526, allocations: 115.5 MB / 407.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003519, allocations: 8.781 kB / 495.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1611, allocations: 77.54 MB / 0.56 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02195/0.1831, allocations: 19.46 MB / 0.579 GB, free: 5.504 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.333/0.5161, allocations: 6.368 MB / 0.5852 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002504/0.5186, allocations: 72.78 kB / 0.5853 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.5199, allocations: 406.3 kB / 0.5857 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004442/0.5244, allocations: 1.118 MB / 0.5867 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003969/0.5284, allocations: 1.076 MB / 0.5878 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01085/0.5392, allocations: 6.965 MB / 0.5946 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01217/0.5514, allocations: 7.287 MB / 0.6017 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004508/0.556, allocations: 1.494 MB / 0.6032 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004173/0.5602, allocations: 2.021 MB / 0.6051 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005509/0.5607, allocations: 176.8 kB / 0.6053 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/0.5633, allocations: 0.9241 MB / 0.6062 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001911/0.5652, allocations: 1.343 MB / 0.6075 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002293/0.5675, allocations: 1.577 MB / 0.6091 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006317/0.5739, allocations: 6.213 MB / 0.6151 GB, free: 5.836 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.5739, allocations: 0 / 0.6151 GB, free: 5.836 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5739, allocations: 0 / 0.6151 GB, free: 5.836 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001461/0.574, allocations: 1.094 kB / 0.6151 GB, free: 5.836 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005906/0.5799, allocations: 2.823 MB / 0.6179 GB, free: 3.949 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.58, allocations: 12.69 kB / 0.6179 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003415/0.5834, allocations: 0.6314 MB / 0.6185 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003093/0.5865, allocations: 1.94 MB / 0.6204 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.5867, allocations: 220.6 kB / 0.6206 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005374/0.5873, allocations: 297.8 kB / 0.6209 GB, free: 2.164 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00805/0.5953, allocations: 4.886 MB / 0.6257 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.479e-05/0.5954, allocations: 19.77 kB / 0.6257 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003179/0.5958, allocations: 130.3 kB / 0.6258 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004192/0.5962, allocations: 233.7 kB / 0.6261 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006287/0.6025, allocations: 3.75 MB / 0.6297 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02303/0.6255, allocations: 21.61 MB / 0.6508 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.6274, allocations: 1.308 MB / 0.6521 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.6288, allocations: 1.041 MB / 0.6531 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.582e-05/0.6288, allocations: 13 kB / 0.6531 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.6289, allocations: 51.5 kB / 0.6532 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of pre-optimization done (n=107): time 3.747e-06/0.6289, allocations: 0 / 0.6532 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of matching and sorting (n=138): time 0.02517/0.6541, allocations: 8.71 MB / 0.6617 GB, free: 7.902 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.6542, allocations: 72.72 kB / 0.6617 GB, free: 7.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.6557, allocations: 1.124 MB / 0.6628 GB, free: 6.691 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.6559, allocations: 53.7 kB / 0.6629 GB, free: 6.633 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008652/0.6567, allocations: 1.299 MB / 0.6642 GB, free: 5.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00042/0.6572, allocations: 480.1 kB / 0.6646 GB, free: 4.855 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.6574, allocations: 133.6 kB / 0.6647 GB, free: 4.719 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6575, allocations: 309.1 kB / 0.665 GB, free: 4.414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.6588, allocations: 0.9135 MB / 0.6659 GB, free: 3.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.6604, allocations: 1.33 MB / 0.6672 GB, free: 2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003093/0.6635, allocations: 2.425 MB / 0.6696 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.6635, allocations: 4 kB / 0.6696 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006283/0.6698, allocations: 3.46 MB / 0.673 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.6698, allocations: 8 kB / 0.673 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.6699, allocations: 20.09 kB / 0.673 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003319/0.6732, allocations: 1.181 MB / 0.6742 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009267/0.6741, allocations: 255.6 kB / 0.6744 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/0.6907, allocations: 12.76 MB / 0.6869 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.6923, allocations: 88.28 kB / 0.6869 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.6925, allocations: 60 kB / 0.687 GB, free: 13.17 MB / 0.5137 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.002222/0.6947, allocations: 1.122 MB / 0.6881 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002797/0.695, allocations: 158.1 kB / 0.6883 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005807/0.7008, allocations: 3.173 MB / 0.6914 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.7008, allocations: 16 kB / 0.6914 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.7009, allocations: 12 kB / 0.6914 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.7009, allocations: 11.97 kB / 0.6914 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/0.7113, allocations: 6.248 MB / 0.6975 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.7113, allocations: 4 kB / 0.6975 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/0.7119, allocations: 147.7 kB / 0.6976 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002981/0.7149, allocations: 1.083 MB / 0.6987 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.095e-05/0.715, allocations: 28 kB / 0.6987 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01608/0.7311, allocations: 12.45 MB / 0.7109 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.7311, allocations: 11.94 kB / 0.7109 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005631/0.7367, allocations: 3.154 MB / 0.714 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008759/0.7376, allocations: 423.1 kB / 0.7144 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.7378, allocations: 28 kB / 0.7144 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008244/0.7387, allocations: 83.89 kB / 0.7145 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003916/0.7391, allocations: 136.6 kB / 0.7146 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.632e-05/0.7392, allocations: 36 kB / 0.7146 GB, free: 220 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001113/0.7403, allocations: 0.7632 MB / 0.7154 GB, free: 15.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7403, allocations: 0 / 0.7154 GB, free: 15.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002147/0.7424, allocations: 0.6602 MB / 0.716 GB, free: 14.79 MB / 0.545 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.0002479/0.7427, allocations: 143 kB / 0.7162 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004926/0.7476, allocations: 3.137 MB / 0.7192 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.7477, allocations: 0 / 0.7192 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002929/0.7506, allocations: 1.964 MB / 0.7212 GB, free: 9.469 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/0.7535, allocations: 469.9 kB / 0.7216 GB, free: 9.012 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.7636, allocations: 6.758 MB / 0.7282 GB, free: 2.184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/0.766, allocations: 2.336 MB / 0.7305 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00124/0.7673, allocations: 346.1 kB / 0.7308 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.7675, allocations: 95.42 kB / 0.7309 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/0.7675, allocations: 0 / 0.7309 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of Templates: time 0.05271/0.8202, allocations: 30.94 MB / 0.7611 GB, free: 0.9023 MB / 0.5762 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)