Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.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.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009315/0.0009316, allocations: 90.33 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.0009059/0.0009062, allocations: 182.6 kB / 17.56 MB, free: 6.203 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.467/1.467, 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.1746/0.1746, allocations: 38.05 MB / 310.1 MB, free: 5.914 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.0005693/0.0005693, allocations: 15.12 kB / 377.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3053, allocations: 56.33 MB / 433.5 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.00484/0.3102, allocations: 4.958 MB / 438.5 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002847/0.3131, allocations: 2.618 MB / 441.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.3133, allocations: 19.88 kB / 441.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.3136, allocations: 67.47 kB / 441.2 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009342/0.3145, allocations: 490.3 kB / 441.6 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.315, allocations: 251.4 kB / 441.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007397/0.3158, allocations: 1.138 MB / 443 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000854/0.3166, allocations: 0.5672 MB / 443.6 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.3169, allocations: 258.8 kB / 443.8 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.3173, allocations: 326.8 kB / 444.2 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.3173, allocations: 16 kB / 444.2 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00095/0.3183, allocations: 0.7677 MB / 444.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.3185, allocations: 171.5 kB / 445.1 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.3187, allocations: 252.4 kB / 445.4 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007066/0.3194, allocations: 0.7864 MB / 446.1 MB, free: 5.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3194, allocations: 0 / 446.1 MB, free: 5.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3194, allocations: 0 / 446.1 MB, free: 5.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.3194, allocations: 4 kB / 446.1 MB, free: 5.965 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.0008575/0.3203, allocations: 0.6826 MB / 446.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3203, allocations: 12.03 kB / 446.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.3218, allocations: 208.1 kB / 447 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.3221, allocations: 362.3 kB / 447.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.3222, allocations: 29.38 kB / 447.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.3223, allocations: 40.38 kB / 447.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007801/0.3231, allocations: 0.6344 MB / 448.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.3231, allocations: 3.984 kB / 448.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/0.3231, allocations: 19.94 kB / 448.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.421e-05/0.3232, allocations: 36.98 kB / 448.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007119/0.3239, allocations: 0.605 MB / 448.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/0.3264, allocations: 2.273 MB / 451 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/0.327, allocations: 498.3 kB / 451.5 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.3273, allocations: 237.7 kB / 451.8 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.3273, allocations: 4 kB / 451.8 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.3273, allocations: 38.56 kB / 451.8 MB, free: 28 kB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 2.494e-06/0.3273, allocations: 0 / 451.8 MB, free: 28 kB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.003459/0.3308, allocations: 1.716 MB / 453.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.3309, allocations: 81.11 kB / 453.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.3312, allocations: 286.9 kB / 453.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.3312, allocations: 29.7 kB / 453.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.3314, allocations: 228 kB / 454.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.3315, allocations: 149.9 kB / 454.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.908e-05/0.3316, allocations: 49.69 kB / 454.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3317, allocations: 350.7 kB / 454.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.332, allocations: 177 kB / 454.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.3323, allocations: 290.4 kB / 455.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006568/0.333, allocations: 0.4966 MB / 455.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.333, allocations: 0 / 455.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001165/0.3342, allocations: 0.6848 MB / 456.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3342, allocations: 4 kB / 456.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.3342, allocations: 4 kB / 456.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006236/0.3349, allocations: 172.7 kB / 456.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.3352, allocations: 104.1 kB / 456.6 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00366/0.3389, allocations: 2.528 MB / 459.1 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.3392, allocations: 27.98 kB / 459.1 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.3393, allocations: 23.98 kB / 459.2 MB, free: 8.297 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (47): * Single equations (assignments): 46 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002649/0.3396, allocations: 193.6 kB / 459.3 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.98e-05/0.3397, allocations: 35.62 kB / 459.4 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.3408, allocations: 0.6373 MB / 460 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.3409, allocations: 8 kB / 460 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3409, allocations: 0 / 460 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.3409, allocations: 3.984 kB / 460 MB, free: 7.402 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.343, allocations: 1.359 MB / 461.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.343, allocations: 0 / 461.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.3434, allocations: 79.89 kB / 461.5 MB, free: 5.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004469/0.3438, allocations: 144.7 kB / 461.6 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.3439, allocations: 15.98 kB / 461.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002748/0.3466, allocations: 2.307 MB / 463.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3466, allocations: 4 kB / 463.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.348, allocations: 0.9524 MB / 464.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.3482, allocations: 116.7 kB / 465 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.3482, allocations: 4 kB / 465 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.3484, allocations: 24.03 kB / 465 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.3485, allocations: 35.89 kB / 465.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.3485, allocations: 20 kB / 465.1 MB, free: 2.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002274/0.3488, allocations: 201.9 kB / 465.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3488, allocations: 4 kB / 465.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006633/0.3495, allocations: 132 kB / 465.4 MB, free: 1.75 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi) * 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 (38): * Single equations (assignments): 36 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.3496, allocations: 107.2 kB / 465.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.3509, allocations: 0.6617 MB / 466.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3509, allocations: 0 / 466.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006833/0.3516, allocations: 426.8 kB / 466.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.3521, allocations: 71.98 kB / 466.7 MB, free: 484 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.3541, allocations: 1.402 MB / 468.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.3546, allocations: 0.8632 MB / 468.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002171/0.3548, allocations: 79.2 kB / 469 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.418e-05/0.3549, allocations: 31.44 kB / 469 MB, free: 14.04 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3549, allocations: 4 kB / 469 MB, free: 14.04 MB / 350.1 MB Notification: Performance of Templates: time 0.009321/0.3642, allocations: 5.264 MB / 474.3 MB, free: 8.777 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1) Environment - environmentSimulation: