Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008374/0.0008374, allocations: 91.31 kB / 16.65 MB, free: 6.598 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.0008366/0.0008369, allocations: 184 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1822/0.1822, allocations: 38.06 MB / 310.1 MB, free: 5.906 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005169/0.0005169, allocations: 12 kB / 377.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3014, allocations: 56.34 MB / 433.5 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.005833/0.3073, allocations: 7.182 MB / 440.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004975/0.3124, allocations: 4.457 MB / 445.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005778/0.313, allocations: 11.94 kB / 445.1 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.3134, allocations: 135.1 kB / 445.3 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.3162, allocations: 1.145 MB / 446.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.3172, allocations: 283.3 kB / 446.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002355/0.3196, allocations: 2.584 MB / 449.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001976/0.3216, allocations: 1.27 MB / 450.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008964/0.3225, allocations: 473.7 kB / 451 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008932/0.3234, allocations: 0.6891 MB / 451.7 MB, free: 384 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.638e-05/0.3235, allocations: 28 kB / 451.7 MB, free: 356 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002957/0.3265, allocations: 1.59 MB / 453.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005767/0.3271, allocations: 442.9 kB / 453.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005134/0.3276, allocations: 415.6 kB / 454.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002682/0.3303, allocations: 1.503 MB / 455.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.29e-05/0.3303, allocations: 4 kB / 455.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.3304, allocations: 0 / 455.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.11e-05/0.3304, allocations: 0 / 455.7 MB, free: 12.39 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002032/0.3324, allocations: 0.9836 MB / 456.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.3325, allocations: 8.031 kB / 456.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003171/0.3357, allocations: 391.4 kB / 457 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007797/0.3365, allocations: 478.6 kB / 457.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/0.3365, allocations: 58.3 kB / 457.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.3367, allocations: 72.36 kB / 457.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.3385, allocations: 1.172 MB / 458.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.3386, allocations: 4 kB / 458.8 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.622e-05/0.3387, allocations: 31.92 kB / 458.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-05/0.3388, allocations: 81.89 kB / 458.9 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.3406, allocations: 1.241 MB / 460.2 MB, free: 7.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005393/0.346, allocations: 3.527 MB / 463.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.3477, allocations: 1.073 MB / 464.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008649/0.3486, allocations: 0.6567 MB / 465.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.16e-05/0.3486, allocations: 12.98 kB / 465.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.3487, allocations: 47.55 kB / 465.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 3.357e-06/0.3487, allocations: 0 / 465.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=92): time 0.006696/0.3554, allocations: 3.107 MB / 468.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.3555, allocations: 90.09 kB / 468.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.356, allocations: 365.6 kB / 469 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.121e-05/0.3561, allocations: 37.7 kB / 469.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.3563, allocations: 316.2 kB / 469.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/0.3566, allocations: 315.4 kB / 469.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.3567, allocations: 77.67 kB / 469.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3569, allocations: 366.8 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000677/0.3576, allocations: 465.7 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007753/0.3584, allocations: 0.5773 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.3599, allocations: 1.117 MB / 472.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3599, allocations: 0 / 472.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002561/0.3625, allocations: 1.473 MB / 473.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.3626, allocations: 4 kB / 473.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.3626, allocations: 4 kB / 473.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.3637, allocations: 336.8 kB / 474.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007878/0.3645, allocations: 183.7 kB / 474.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005164/0.3697, allocations: 3.883 MB / 478.1 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000628/0.3704, allocations: 47.94 kB / 478.2 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.91e-05/0.3705, allocations: 35.98 kB / 478.2 MB, free: 5.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004771/0.371, allocations: 293.5 kB / 478.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.3711, allocations: 55.34 kB / 478.6 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/0.3738, allocations: 1.571 MB / 480.1 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.3739, allocations: 12 kB / 480.1 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.3739, allocations: 4 kB / 480.1 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.3739, allocations: 3.984 kB / 480.2 MB, free: 3.312 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005207/0.3791, allocations: 3.036 MB / 483.2 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.3792, allocations: 4.062 kB / 483.2 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006575/0.3798, allocations: 167.8 kB / 483.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008152/0.3807, allocations: 284.6 kB / 483.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.3808, allocations: 27.98 kB / 483.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004734/0.3855, allocations: 3.618 MB / 487.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.3856, allocations: 7.938 kB / 487.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.3881, allocations: 1.596 MB / 488.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.3884, allocations: 148.3 kB / 489 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.45e-05/0.3885, allocations: 20 kB / 489 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.3889, allocations: 43.95 kB / 489.1 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.3891, allocations: 84.77 kB / 489.2 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.329e-05/0.3892, allocations: 39.98 kB / 489.2 MB, free: 9.887 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003196/0.3896, allocations: 255.2 kB / 489.5 MB, free: 9.637 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.3896, allocations: 3.938 kB / 489.5 MB, free: 9.633 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001098/0.3907, allocations: 304 kB / 489.8 MB, free: 9.336 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * 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 {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002097/0.3909, allocations: 131 kB / 489.9 MB, free: 9.199 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002368/0.3933, allocations: 1.401 MB / 491.3 MB, free: 7.789 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.3933, allocations: 0 / 491.3 MB, free: 7.789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.3946, allocations: 0.8361 MB / 492.1 MB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00092/0.3955, allocations: 114.3 kB / 492.2 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.3987, allocations: 2.159 MB / 494.4 MB, free: 4.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008078/0.3996, allocations: 1.072 MB / 495.5 MB, free: 3.504 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000507/0.4001, allocations: 184.6 kB / 495.6 MB, free: 3.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.4003, allocations: 63.41 kB / 495.7 MB, free: 3.258 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4003, allocations: 0 / 495.7 MB, free: 3.258 MB / 366.1 MB Notification: Performance of Templates: time 0.01638/0.4167, allocations: 9.317 MB / 0.4932 GB, free: 9.973 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) Environment - environmentSimulation: