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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.413/1.413, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1888/0.1888, allocations: 38.53 MB / 353.2 MB, free: 12.54 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 68.19 kB / 493.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2787, allocations: 62.47 MB / 0.5432 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.006418/0.2851, allocations: 5.089 MB / 0.5482 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003771/0.2889, allocations: 2.558 MB / 0.5507 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.2892, allocations: 17.81 kB / 0.5507 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.2904, allocations: 447.5 kB / 0.5511 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.2915, allocations: 0.5121 MB / 0.5516 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007278/0.2922, allocations: 284.7 kB / 0.5519 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009302/0.2932, allocations: 0.7343 MB / 0.5526 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005117/0.2937, allocations: 293.7 kB / 0.5529 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006013/0.2943, allocations: 331.8 kB / 0.5532 GB, free: 8.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006082/0.2949, allocations: 352 kB / 0.5536 GB, free: 8.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.37e-05/0.295, allocations: 40.44 kB / 0.5536 GB, free: 8.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.2961, allocations: 0.6553 MB / 0.5542 GB, free: 8.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.2964, allocations: 197.5 kB / 0.5544 GB, free: 8.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003747/0.2968, allocations: 248.9 kB / 0.5547 GB, free: 7.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.2982, allocations: 0.7641 MB / 0.5554 GB, free: 7.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2982, allocations: 0 / 0.5554 GB, free: 7.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2982, allocations: 0 / 0.5554 GB, free: 7.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.312e-05/0.2982, allocations: 1.344 kB / 0.5554 GB, free: 7.457 MB / 398.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.001492/0.2997, allocations: 0.7166 MB / 0.5561 GB, free: 6.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2997, allocations: 13.77 kB / 0.5561 GB, free: 6.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.3015, allocations: 206.9 kB / 0.5563 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006596/0.3022, allocations: 301.7 kB / 0.5566 GB, free: 6.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.3022, allocations: 34.92 kB / 0.5566 GB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-05/0.3023, allocations: 38.97 kB / 0.5567 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.3033, allocations: 0.632 MB / 0.5573 GB, free: 5.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.3034, allocations: 3.953 kB / 0.5573 GB, free: 5.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/0.3034, allocations: 19.98 kB / 0.5573 GB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.629e-05/0.3035, allocations: 40.98 kB / 0.5573 GB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009721/0.3045, allocations: 0.6089 MB / 0.5579 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003659/0.3081, allocations: 2.181 MB / 0.5601 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.3088, allocations: 373.5 kB / 0.5604 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.3091, allocations: 209.7 kB / 0.5606 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.3091, allocations: 7.984 kB / 0.5606 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.3092, allocations: 42.56 kB / 0.5607 GB, free: 2.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.364e-06/0.3092, allocations: 0 / 0.5607 GB, free: 2.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.003646/0.3128, allocations: 1.558 MB / 0.5622 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.3129, allocations: 85.05 kB / 0.5623 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.3132, allocations: 280.4 kB / 0.5625 GB, free: 348 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.3133, allocations: 33.7 kB / 0.5626 GB, free: 308 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.3134, allocations: 236.5 kB / 0.5628 GB, free: 64 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.3136, allocations: 158.8 kB / 0.563 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.3137, allocations: 82.14 kB / 0.563 GB, free: 15.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3139, allocations: 350.7 kB / 0.5634 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.3142, allocations: 176.9 kB / 0.5635 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.3146, allocations: 297.7 kB / 0.5638 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007253/0.3153, allocations: 0.5043 MB / 0.5643 GB, free: 14.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3153, allocations: 0 / 0.5643 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00123/0.3165, allocations: 0.6733 MB / 0.565 GB, free: 13.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3166, allocations: 4 kB / 0.565 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3166, allocations: 4 kB / 0.565 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/0.3172, allocations: 181 kB / 0.5652 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.3176, allocations: 95.81 kB / 0.5652 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003758/0.3213, allocations: 2.694 MB / 0.5679 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.3216, allocations: 19.98 kB / 0.5679 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.3217, allocations: 20 kB / 0.5679 GB, free: 10.61 MB / 414.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.0002772/0.3219, allocations: 193.7 kB / 0.5681 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.52e-05/0.322, allocations: 47.7 kB / 0.5681 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.3233, allocations: 0.6217 MB / 0.5688 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.3233, allocations: 8 kB / 0.5688 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.3233, allocations: 0 / 0.5688 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.3233, allocations: 7.922 kB / 0.5688 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.3258, allocations: 1.32 MB / 0.5701 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3258, allocations: 4.062 kB / 0.5701 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/0.3261, allocations: 83.89 kB / 0.5701 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004707/0.3266, allocations: 136.7 kB / 0.5703 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.3266, allocations: 16.08 kB / 0.5703 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003317/0.33, allocations: 2.461 MB / 0.5727 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.33, allocations: 4 kB / 0.5727 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.3315, allocations: 0.9539 MB / 0.5736 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.3316, allocations: 35.8 kB / 0.5737 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.423e-05/0.3317, allocations: 19.94 kB / 0.5737 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.3319, allocations: 15.98 kB / 0.5737 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.163e-05/0.332, allocations: 31.94 kB / 0.5737 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.332, allocations: 16 kB / 0.5737 GB, free: 4.395 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002224/0.3323, allocations: 199.1 kB / 0.5739 GB, free: 4.199 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3323, allocations: 0 / 0.5739 GB, free: 4.199 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006812/0.3329, allocations: 140 kB / 0.5741 GB, free: 4.062 MB / 414.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.0001486/0.3331, allocations: 103.3 kB / 0.5742 GB, free: 3.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.3345, allocations: 0.6577 MB / 0.5748 GB, free: 3.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3345, allocations: 4.312 kB / 0.5748 GB, free: 3.277 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007188/0.3352, allocations: 395.4 kB / 0.5752 GB, free: 2.879 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005545/0.3357, allocations: 64.55 kB / 0.5752 GB, free: 2.816 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.338, allocations: 1.195 MB / 0.5764 GB, free: 1.578 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.3386, allocations: 0.8708 MB / 0.5773 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.3387, allocations: 39.42 kB / 0.5773 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3387, allocations: 0 / 0.5773 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of Templates: time 0.01174/0.3504, allocations: 7.039 MB / 0.5842 GB, free: 9.594 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.963219211902469] Failed to read output from testmodel.py, exit status != 0: 0.35991509491577744 0.37500755 0.07359118 Calling exit ...