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 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_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.001171/0.001172, allocations: 115.5 kB / 17.69 MB, free: 5.312 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.001284/0.001284, allocations: 191 kB / 18.63 MB, free: 4.379 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.69/1.69, 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.1799/0.1799, allocations: 37.98 MB / 309.8 MB, free: 5.984 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.001558/0.001558, allocations: 63.91 kB / 376.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.282, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.006891/0.289, allocations: 7.564 MB / 439.6 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004452/0.2935, allocations: 4.203 MB / 443.8 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000453/0.2939, allocations: 15.94 kB / 443.8 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.2961, allocations: 1.026 MB / 444.8 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.2987, allocations: 1.094 MB / 445.9 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008988/0.2996, allocations: 315.2 kB / 446.2 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001416/0.301, allocations: 1.363 MB / 447.6 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006551/0.3017, allocations: 452 kB / 448 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007058/0.3024, allocations: 0.5639 MB / 448.6 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006149/0.3031, allocations: 0.58 MB / 449.2 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.925e-05/0.3031, allocations: 40 kB / 449.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.3048, allocations: 0.9817 MB / 450.2 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.305, allocations: 279.3 kB / 450.5 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.3053, allocations: 242.9 kB / 450.7 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.3065, allocations: 0.818 MB / 451.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.3066, allocations: 7.922 kB / 451.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3066, allocations: 0 / 451.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.3066, allocations: 0 / 451.5 MB, free: 15.92 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001235/0.3078, allocations: 0.8016 MB / 452.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.3079, allocations: 15.89 kB / 452.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.3095, allocations: 124.3 kB / 452.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/0.3102, allocations: 346.4 kB / 452.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.3102, allocations: 25.38 kB / 452.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/0.3103, allocations: 44.36 kB / 452.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007667/0.311, allocations: 0.5908 MB / 453.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3111, allocations: 3.938 kB / 453.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.3111, allocations: 15.98 kB / 453.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.801e-05/0.3112, allocations: 44.62 kB / 453.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005324/0.3117, allocations: 378.1 kB / 453.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/0.3143, allocations: 2.588 MB / 456.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.3149, allocations: 435.7 kB / 456.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.3152, allocations: 210.5 kB / 457.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.3152, allocations: 4.531 kB / 457.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.147e-05/0.3153, allocations: 42.5 kB / 457.2 MB, free: 9.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 2.775e-06/0.3153, allocations: 0 / 457.2 MB, free: 9.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.001782/0.3171, allocations: 0.7602 MB / 457.9 MB, free: 9.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.3172, allocations: 119 kB / 458 MB, free: 9.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.3176, allocations: 320.5 kB / 458.4 MB, free: 8.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.3176, allocations: 29.7 kB / 458.4 MB, free: 8.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.3178, allocations: 251.7 kB / 458.6 MB, free: 8.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.3179, allocations: 114.4 kB / 458.7 MB, free: 8.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.318, allocations: 78.05 kB / 458.8 MB, free: 8.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.3182, allocations: 350.8 kB / 459.2 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.3184, allocations: 128.8 kB / 459.3 MB, free: 7.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.3187, allocations: 287.4 kB / 459.6 MB, free: 7.402 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/0.3193, allocations: 452.2 kB / 460 MB, free: 6.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.3193, allocations: 0 / 460 MB, free: 6.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008231/0.3201, allocations: 0.565 MB / 460.6 MB, free: 6.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.3202, allocations: 4 kB / 460.6 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.3202, allocations: 8 kB / 460.6 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003541/0.3205, allocations: 116.8 kB / 460.7 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.3208, allocations: 80.19 kB / 460.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002825/0.3236, allocations: 2.569 MB / 463.4 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.3239, allocations: 47.47 kB / 463.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.3239, allocations: 23.98 kB / 463.4 MB, free: 3.32 MB / 334.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.000255/0.3242, allocations: 205.7 kB / 463.6 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.843e-05/0.3242, allocations: 31.62 kB / 463.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.896e-05/0.3243, allocations: 51.95 kB / 463.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3244, allocations: 4 kB / 463.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.3244, allocations: 4 kB / 463.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3244, allocations: 3.938 kB / 463.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.3256, allocations: 0.9415 MB / 464.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3257, allocations: 0 / 464.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.3258, allocations: 35.92 kB / 464.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002449/0.326, allocations: 116.3 kB / 464.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.3261, allocations: 12.06 kB / 464.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/0.3285, allocations: 2.552 MB / 467.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3285, allocations: 4.031 kB / 467.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006787/0.3292, allocations: 0.6187 MB / 468 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.3293, allocations: 116.6 kB / 468.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.3294, allocations: 15.92 kB / 468.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.3295, allocations: 12 kB / 468.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.3296, allocations: 23.97 kB / 468.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.3296, allocations: 4 kB / 468.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002305/0.3299, allocations: 227 kB / 468.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3299, allocations: 0 / 468.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000681/0.3306, allocations: 151.8 kB / 468.5 MB, free: 13.94 MB / 350.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.0001438/0.3307, allocations: 111.1 kB / 468.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008602/0.3316, allocations: 0.511 MB / 469.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3316, allocations: 4.312 kB / 469.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004288/0.332, allocations: 350 kB / 469.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.3326, allocations: 68.8 kB / 469.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.3339, allocations: 0.8024 MB / 470.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.3343, allocations: 0.8824 MB / 471.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.3345, allocations: 74.89 kB / 471.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/0.3346, allocations: 23.44 kB / 471.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3346, allocations: 0 / 471.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Templates: time 0.00792/0.3425, allocations: 3.747 MB / 475.1 MB, free: 7.281 MB / 350.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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)