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.001559/0.001559, allocations: 111.5 kB / 17.69 MB, free: 5.438 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.001798/0.001798, allocations: 192 kB / 18.63 MB, free: 4.508 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.586/1.586, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2354/0.2354, allocations: 37.98 MB / 309.8 MB, free: 5.977 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.00139/0.00139, allocations: 71.91 kB / 376.8 MB, free: 2.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2789, allocations: 55.25 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.006526/0.2855, allocations: 7.438 MB / 439.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004673/0.2902, allocations: 4.429 MB / 443.9 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004054/0.2906, allocations: 15.94 kB / 443.9 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.2927, allocations: 1.035 MB / 444.9 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002556/0.2952, allocations: 1.203 MB / 446.1 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009059/0.2962, allocations: 319.1 kB / 446.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001323/0.2975, allocations: 1.402 MB / 447.9 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007113/0.2982, allocations: 0.6534 MB / 448.5 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006433/0.2989, allocations: 0.6108 MB / 449.1 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006117/0.2995, allocations: 0.6814 MB / 449.8 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.012e-05/0.2996, allocations: 64 kB / 449.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.3016, allocations: 1.333 MB / 451.2 MB, free: 260 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003871/0.302, allocations: 482.8 kB / 451.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004397/0.3025, allocations: 441.9 kB / 452.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.3046, allocations: 1.453 MB / 453.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3046, allocations: 0 / 453.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3046, allocations: 0 / 453.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.3047, allocations: 4 kB / 453.6 MB, free: 13.89 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.00166/0.3063, allocations: 1.132 MB / 454.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3064, allocations: 15.89 kB / 454.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002982/0.3094, allocations: 383.4 kB / 455.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009211/0.3103, allocations: 494.6 kB / 455.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.34e-05/0.3104, allocations: 50.38 kB / 455.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.3105, allocations: 72.36 kB / 455.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.3123, allocations: 1.18 MB / 456.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.3123, allocations: 3.938 kB / 456.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-05/0.3124, allocations: 31.98 kB / 456.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.3125, allocations: 73.95 kB / 457 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.3143, allocations: 1.237 MB / 458.2 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005404/0.3197, allocations: 3.491 MB / 461.7 MB, free: 5.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.3214, allocations: 1.065 MB / 462.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008586/0.3223, allocations: 0.6643 MB / 463.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.64e-05/0.3224, allocations: 12.98 kB / 463.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.3224, allocations: 47.55 kB / 463.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.685e-06/0.3225, allocations: 8 kB / 463.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=92): time 0.006404/0.3289, allocations: 3.083 MB / 466.6 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.3289, allocations: 86.11 kB / 466.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004399/0.3294, allocations: 365.5 kB / 467 MB, free: 132 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.3295, allocations: 41.7 kB / 467.1 MB, free: 84 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.3297, allocations: 312.2 kB / 467.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/0.3299, allocations: 315.3 kB / 467.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.3302, allocations: 158.7 kB / 467.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3303, allocations: 366.8 kB / 468.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006341/0.331, allocations: 469.7 kB / 468.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007348/0.3317, allocations: 0.5695 MB / 469.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.3332, allocations: 1.117 MB / 470.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3332, allocations: 0 / 470.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002403/0.3356, allocations: 1.481 MB / 471.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.3356, allocations: 8 kB / 471.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3356, allocations: 4 kB / 471.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009242/0.3366, allocations: 330 kB / 472.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006814/0.3373, allocations: 183.7 kB / 472.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005612/0.3429, allocations: 4.187 MB / 476.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.3435, allocations: 47.94 kB / 476.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.057e-05/0.3436, allocations: 39.98 kB / 476.6 MB, free: 6.281 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.0004662/0.344, allocations: 293.5 kB / 476.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.3442, allocations: 55.34 kB / 476.9 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/0.3468, allocations: 1.559 MB / 478.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.3468, allocations: 12 kB / 478.5 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.3468, allocations: 11.94 kB / 478.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.3468, allocations: 11.97 kB / 478.5 MB, free: 4.324 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.005072/0.3519, allocations: 3.027 MB / 481.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.3519, allocations: 4 kB / 481.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005941/0.3525, allocations: 171.8 kB / 481.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007509/0.3533, allocations: 280.7 kB / 482 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.729e-05/0.3534, allocations: 27.98 kB / 482 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004761/0.3581, allocations: 3.908 MB / 485.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.3582, allocations: 7.938 kB / 486 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.3606, allocations: 1.594 MB / 487.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.3609, allocations: 140.3 kB / 487.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.794e-05/0.361, allocations: 23.98 kB / 487.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.3614, allocations: 43.91 kB / 487.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.3616, allocations: 84.83 kB / 487.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.181e-05/0.3617, allocations: 35.98 kB / 487.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002898/0.362, allocations: 259.1 kB / 488.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.362, allocations: 0 / 488.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001011/0.363, allocations: 304 kB / 488.4 MB, free: 10.06 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.0001908/0.3632, allocations: 139 kB / 488.6 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002239/0.3654, allocations: 1.397 MB / 489.9 MB, free: 8.512 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3655, allocations: 8.188 kB / 490 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.3667, allocations: 0.8434 MB / 490.8 MB, free: 7.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006955/0.3674, allocations: 116.3 kB / 490.9 MB, free: 7.543 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.3706, allocations: 1.774 MB / 492.7 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008414/0.3714, allocations: 1.083 MB / 493.8 MB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004055/0.3718, allocations: 176.6 kB / 493.9 MB, free: 4.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.3722, allocations: 63.41 kB / 494 MB, free: 4.348 MB / 366.1 MB Notification: Performance of SimCode: time 1.502e-06/0.3722, allocations: 0 / 494 MB, free: 4.348 MB / 366.1 MB Notification: Performance of Templates: time 0.01761/0.3898, allocations: 10.11 MB / 0.4923 GB, free: 10.27 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)