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.001653/0.001653, allocations: 111.2 kB / 17.28 MB, free: 6.199 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.002035/0.002035, allocations: 197.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.237/2.237, allocations: 222.9 MB / 241.9 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4499/0.4499, allocations: 38.02 MB / 330 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002892/0.002892, allocations: 61.8 kB / 398.9 MB, free: 34.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.229, allocations: 58.06 MB / 457 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01798/0.2471, allocations: 7.755 MB / 464.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.2587, allocations: 4.202 MB / 469 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.2601, allocations: 15.94 kB / 469 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004619/0.2648, allocations: 0.9733 MB / 469.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004863/0.2697, allocations: 1.032 MB / 471 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.2718, allocations: 283.3 kB / 471.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003901/0.2757, allocations: 1.371 MB / 472.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002272/0.2781, allocations: 0.5233 MB / 473.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.2801, allocations: 0.5639 MB / 473.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.2821, allocations: 0.6306 MB / 474.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002974/0.2824, allocations: 36 kB / 474.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/0.286, allocations: 0.9855 MB / 475.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.2872, allocations: 275.3 kB / 475.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007106/0.2879, allocations: 250.8 kB / 475.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002392/0.2903, allocations: 0.6198 MB / 476.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.2904, allocations: 0 / 476.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.2904, allocations: 4 kB / 476.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.2904, allocations: 4 kB / 476.5 MB, free: 4.801 MB / 350.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.00224/0.2927, allocations: 0.796 MB / 477.3 MB, free: 3.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.599e-05/0.2928, allocations: 11.89 kB / 477.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/0.2959, allocations: 140.2 kB / 477.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009996/0.297, allocations: 322.4 kB / 477.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.098e-05/0.2971, allocations: 33.31 kB / 477.8 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002876/0.2974, allocations: 44.36 kB / 477.8 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.2991, allocations: 0.583 MB / 478.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.2992, allocations: 3.938 kB / 478.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.566e-05/0.2993, allocations: 19.98 kB / 478.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/0.2995, allocations: 40.62 kB / 478.5 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.3007, allocations: 382.1 kB / 478.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005279/0.306, allocations: 2.603 MB / 481.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.3073, allocations: 423.8 kB / 481.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/0.3078, allocations: 217.3 kB / 482.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.3079, allocations: 0 / 482.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.553e-05/0.308, allocations: 42.5 kB / 482.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 5.74e-06/0.308, allocations: 0 / 482.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.003108/0.3111, allocations: 0.7569 MB / 482.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.3113, allocations: 115 kB / 483 MB, free: 13.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006975/0.312, allocations: 324.5 kB / 483.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.057e-05/0.3121, allocations: 33.7 kB / 483.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.3124, allocations: 251.7 kB / 483.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.3126, allocations: 114.3 kB / 483.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.3128, allocations: 74.14 kB / 483.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.3131, allocations: 346.8 kB / 484.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.3136, allocations: 128.8 kB / 484.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005621/0.3141, allocations: 285.5 kB / 484.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.3152, allocations: 456.1 kB / 485 MB, free: 11.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.3153, allocations: 0 / 485 MB, free: 11.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001827/0.3171, allocations: 0.5658 MB / 485.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.3172, allocations: 8 kB / 485.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/0.3172, allocations: 4 kB / 485.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007125/0.3179, allocations: 124.3 kB / 485.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.3185, allocations: 79.84 kB / 485.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005507/0.324, allocations: 2.559 MB / 488.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/0.3247, allocations: 47.56 kB / 488.3 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-05/0.3248, allocations: 19.94 kB / 488.4 MB, free: 8.215 MB / 366.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.0005555/0.3254, allocations: 202.7 kB / 488.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.3256, allocations: 39.53 kB / 488.6 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.3258, allocations: 47.95 kB / 488.6 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.3259, allocations: 4 kB / 488.7 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-05/0.3259, allocations: 8.062 kB / 488.7 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.3259, allocations: 7.922 kB / 488.7 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.3286, allocations: 0.9377 MB / 489.6 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.3287, allocations: 4 kB / 489.6 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.329, allocations: 32.05 kB / 489.6 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004942/0.3295, allocations: 116.8 kB / 489.8 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.3296, allocations: 8 kB / 489.8 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005483/0.3351, allocations: 2.546 MB / 492.3 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.267e-05/0.3352, allocations: 3.984 kB / 492.3 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.337, allocations: 0.6265 MB / 492.9 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.3374, allocations: 120.7 kB / 493.1 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.3375, allocations: 11.94 kB / 493.1 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.338, allocations: 4 kB / 493.1 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.3381, allocations: 27.95 kB / 493.1 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.3382, allocations: 8 kB / 493.1 MB, free: 3.195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006168/0.3388, allocations: 223 kB / 493.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.408e-06/0.3389, allocations: 0 / 493.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00151/0.3404, allocations: 163.6 kB / 493.5 MB, free: 2.816 MB / 366.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.0002992/0.3407, allocations: 103.2 kB / 493.6 MB, free: 2.707 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.3427, allocations: 0.5502 MB / 494.1 MB, free: 2.145 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/0.3427, allocations: 0 / 494.1 MB, free: 2.145 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008249/0.3435, allocations: 346.6 kB / 494.5 MB, free: 1.793 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.3447, allocations: 64.05 kB / 494.5 MB, free: 1.738 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.3478, allocations: 1.038 MB / 495.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.3488, allocations: 0.8825 MB / 496.5 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.349, allocations: 27.38 kB / 496.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of SimCode: time 1.753e-06/0.349, allocations: 0 / 496.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of Templates: time 0.01855/0.3676, allocations: 6.107 MB / 0.4908 GB, free: 9.598 MB / 382.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)