Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 110.6 kB / 17.06 MB, free: 6.023 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.001142/0.001142, allocations: 191 kB / 17.99 MB, free: 5.109 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.343/1.343, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1758/0.1758, allocations: 38.02 MB / 329.9 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.91 kB / 458.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3234, allocations: 58.05 MB / 0.5041 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.007357/0.3308, allocations: 7.56 MB / 0.5115 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005508/0.3363, allocations: 4.152 MB / 0.5155 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005048/0.3369, allocations: 16.78 kB / 0.5156 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002703/0.3396, allocations: 1.032 MB / 0.5166 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003017/0.3426, allocations: 1.117 MB / 0.5177 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009913/0.3436, allocations: 300.8 kB / 0.5179 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002514/0.3462, allocations: 1.373 MB / 0.5193 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.3472, allocations: 458.1 kB / 0.5197 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.3486, allocations: 0.5651 MB / 0.5203 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.3496, allocations: 0.584 MB / 0.5208 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.715e-05/0.3497, allocations: 35.22 kB / 0.5209 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002638/0.3524, allocations: 0.9858 MB / 0.5218 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004752/0.3529, allocations: 268.9 kB / 0.5221 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003437/0.3532, allocations: 248.8 kB / 0.5223 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.3547, allocations: 0.8157 MB / 0.5231 GB, free: 12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3547, allocations: 1.938 kB / 0.5231 GB, free: 12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3547, allocations: 4 kB / 0.5231 GB, free: 12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.3547, allocations: 0 / 0.5231 GB, free: 12 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001229/0.3559, allocations: 0.805 MB / 0.5239 GB, free: 11.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.356, allocations: 13.23 kB / 0.5239 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.3576, allocations: 132.3 kB / 0.5241 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006681/0.3582, allocations: 334.1 kB / 0.5244 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.3583, allocations: 33.86 kB / 0.5244 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.008e-05/0.3584, allocations: 38.14 kB / 0.5244 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.3594, allocations: 0.5849 MB / 0.525 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.3594, allocations: 9.188 kB / 0.525 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.003e-05/0.3595, allocations: 21.52 kB / 0.525 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.154e-05/0.3596, allocations: 33.7 kB / 0.5251 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007037/0.3603, allocations: 383.7 kB / 0.5254 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002919/0.3632, allocations: 2.593 MB / 0.528 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007249/0.3639, allocations: 428.7 kB / 0.5284 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.3643, allocations: 208.5 kB / 0.5286 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.3643, allocations: 8.172 kB / 0.5286 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.3644, allocations: 37.8 kB / 0.5286 GB, free: 8.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 1.864e-06/0.3644, allocations: 0 / 0.5286 GB, free: 8.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.00181/0.3662, allocations: 0.7692 MB / 0.5294 GB, free: 7.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/0.3663, allocations: 108 kB / 0.5295 GB, free: 7.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/0.3667, allocations: 321.5 kB / 0.5298 GB, free: 7.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.3667, allocations: 31.23 kB / 0.5298 GB, free: 7.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.3669, allocations: 245.3 kB / 0.5301 GB, free: 7.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.3671, allocations: 120.4 kB / 0.5302 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.3672, allocations: 80.45 kB / 0.5302 GB, free: 7.043 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.3674, allocations: 356.4 kB / 0.5306 GB, free: 6.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.3677, allocations: 127 kB / 0.5307 GB, free: 6.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.368, allocations: 283 kB / 0.531 GB, free: 6.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/0.3686, allocations: 464.3 kB / 0.5314 GB, free: 6.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3686, allocations: 2.406 kB / 0.5314 GB, free: 6.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008448/0.3695, allocations: 0.5556 MB / 0.532 GB, free: 5.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3695, allocations: 7.156 kB / 0.532 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3695, allocations: 5.344 kB / 0.532 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003417/0.3698, allocations: 131.8 kB / 0.5321 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.3701, allocations: 68.58 kB / 0.5322 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/0.3728, allocations: 2.551 MB / 0.5347 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.373, allocations: 48.91 kB / 0.5347 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.3731, allocations: 14.75 kB / 0.5347 GB, free: 3.797 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002364/0.3733, allocations: 209.7 kB / 0.5349 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.3734, allocations: 41.69 kB / 0.535 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.583e-05/0.3735, allocations: 45.83 kB / 0.535 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3735, allocations: 4.062 kB / 0.535 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.3735, allocations: 2.656 kB / 0.535 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3735, allocations: 9.734 kB / 0.535 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.3749, allocations: 0.9439 MB / 0.5359 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3749, allocations: 2.344 kB / 0.5359 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.3751, allocations: 35.36 kB / 0.536 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/0.3753, allocations: 115.2 kB / 0.5361 GB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.3753, allocations: 6.812 kB / 0.5361 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002504/0.3779, allocations: 2.547 MB / 0.5386 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3779, allocations: 1.094 kB / 0.5386 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007641/0.3786, allocations: 0.6406 MB / 0.5392 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.725e-05/0.3788, allocations: 120.7 kB / 0.5393 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.3788, allocations: 11.66 kB / 0.5393 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.379, allocations: 7.078 kB / 0.5393 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.3791, allocations: 18.06 kB / 0.5394 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.3791, allocations: 10.94 kB / 0.5394 GB, free: 15.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002482/0.3794, allocations: 225.3 kB / 0.5396 GB, free: 15.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3794, allocations: 0 / 0.5396 GB, free: 15.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007303/0.3801, allocations: 156.2 kB / 0.5397 GB, free: 15.81 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000122/0.3802, allocations: 106 kB / 0.5398 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008651/0.3811, allocations: 0.5175 MB / 0.5403 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3811, allocations: 4.938 kB / 0.5403 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004504/0.3816, allocations: 336.1 kB / 0.5407 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005436/0.3821, allocations: 67.25 kB / 0.5407 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.3835, allocations: 0.8227 MB / 0.5415 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.384, allocations: 0.8802 MB / 0.5424 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001712/0.3842, allocations: 69.69 kB / 0.5425 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.3843, allocations: 22.75 kB / 0.5425 GB, free: 13.78 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3843, allocations: 3.938 kB / 0.5425 GB, free: 13.78 MB / 414.1 MB Notification: Performance of Templates: time 0.008992/0.3933, allocations: 3.85 MB / 0.5462 GB, free: 11.9 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)