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.000788/0.0007882, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.001021/0.001021, allocations: 184.2 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.49/1.49, 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.1766/0.1766, allocations: 38.06 MB / 310.1 MB, free: 5.902 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.0005819/0.0005818, allocations: 12 kB / 377.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3054, allocations: 56.34 MB / 433.5 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.005703/0.3112, allocations: 7.326 MB / 440.8 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004436/0.3156, allocations: 4.2 MB / 445 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004694/0.3161, allocations: 15.94 kB / 445 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.3165, allocations: 131.1 kB / 445.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.3187, allocations: 1.059 MB / 446.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.3193, allocations: 275.3 kB / 446.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.3211, allocations: 2.553 MB / 449 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004352/0.3216, allocations: 353.9 kB / 449.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004965/0.3221, allocations: 449.7 kB / 449.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006594/0.3228, allocations: 0.6111 MB / 450.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.3228, allocations: 20 kB / 450.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.3245, allocations: 1.239 MB / 451.7 MB, free: 404 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.3247, allocations: 259.3 kB / 451.9 MB, free: 144 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.325, allocations: 248.5 kB / 452.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.3261, allocations: 0.88 MB / 453.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3261, allocations: 4 kB / 453.1 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3261, allocations: 0 / 453.1 MB, free: 15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.3261, allocations: 0 / 453.1 MB, free: 15 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.001149/0.3273, allocations: 0.7104 MB / 453.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.3273, allocations: 12.03 kB / 453.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.3289, allocations: 128.3 kB / 453.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.3293, allocations: 330.3 kB / 454.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.3293, allocations: 37.36 kB / 454.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.626e-05/0.3294, allocations: 44.34 kB / 454.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007871/0.3302, allocations: 0.5791 MB / 454.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.3302, allocations: 7.938 kB / 454.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/0.3303, allocations: 15.98 kB / 454.9 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.243e-05/0.3303, allocations: 40.62 kB / 455 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005576/0.3309, allocations: 386.1 kB / 455.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.3334, allocations: 2.599 MB / 457.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.334, allocations: 447.5 kB / 458.4 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.3343, allocations: 211 kB / 458.6 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.3344, allocations: 7.984 kB / 458.6 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.3344, allocations: 38.56 kB / 458.6 MB, free: 9.125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.3344, allocations: 7.938 kB / 458.6 MB, free: 9.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.001664/0.3361, allocations: 0.7654 MB / 459.4 MB, free: 8.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.3362, allocations: 106.8 kB / 459.5 MB, free: 8.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.3365, allocations: 324.4 kB / 459.8 MB, free: 7.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.3365, allocations: 29.7 kB / 459.9 MB, free: 7.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.3367, allocations: 256 kB / 460.1 MB, free: 7.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.963e-05/0.3368, allocations: 118.4 kB / 460.2 MB, free: 7.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.3368, allocations: 37.7 kB / 460.3 MB, free: 7.418 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.337, allocations: 350.8 kB / 460.6 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.3372, allocations: 120.8 kB / 460.7 MB, free: 6.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.3375, allocations: 283.5 kB / 461 MB, free: 6.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005776/0.3381, allocations: 460.1 kB / 461.4 MB, free: 6.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3381, allocations: 4 kB / 461.4 MB, free: 6.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008465/0.339, allocations: 0.5531 MB / 462 MB, free: 5.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.339, allocations: 12.55 kB / 462 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.339, allocations: 4 kB / 462 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003363/0.3394, allocations: 124.8 kB / 462.1 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.3396, allocations: 71.84 kB / 462.2 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/0.3421, allocations: 2.36 MB / 464.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.3424, allocations: 43.53 kB / 464.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.3424, allocations: 20 kB / 464.6 MB, free: 2.738 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.0002187/0.3426, allocations: 197.7 kB / 464.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.309e-05/0.3427, allocations: 35.56 kB / 464.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.526e-05/0.3428, allocations: 51.95 kB / 464.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3428, allocations: 4 kB / 464.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.3428, allocations: 8.062 kB / 464.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3429, allocations: 0 / 464.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.3441, allocations: 0.9492 MB / 465.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3441, allocations: 0 / 465.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.3442, allocations: 39.98 kB / 465.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/0.3444, allocations: 112.9 kB / 466 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.3445, allocations: 8 kB / 466 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002274/0.3468, allocations: 2.341 MB / 468.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3468, allocations: 0 / 468.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007309/0.3475, allocations: 0.6308 MB / 469 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.3477, allocations: 116.5 kB / 469.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.3477, allocations: 8 kB / 469.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3479, allocations: 4 kB / 469.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.3479, allocations: 35.83 kB / 469.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.3479, allocations: 20 kB / 469.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002121/0.3482, allocations: 215.1 kB / 469.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3482, allocations: 0 / 469.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006217/0.3488, allocations: 159.8 kB / 469.5 MB, free: 13.55 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.0001233/0.3489, allocations: 99.5 kB / 469.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000786/0.3497, allocations: 0.5064 MB / 470.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3497, allocations: 4 kB / 470.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.3502, allocations: 351.3 kB / 470.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.3508, allocations: 65.55 kB / 470.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.3524, allocations: 0.9942 MB / 471.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.353, allocations: 0.8824 MB / 472.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001983/0.3532, allocations: 70.91 kB / 472.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.3533, allocations: 23.44 kB / 472.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of SimCode: time 1.343e-06/0.3533, allocations: 0 / 472.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Templates: time 0.007431/0.3607, allocations: 3.462 MB / 476 MB, free: 7.012 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: