Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.001549/0.001549, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001622/0.001622, allocations: 212.6 kB / 23.73 MB, free: 4.387 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.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.1883/0.1883, allocations: 38.56 MB / 352.5 MB, free: 12.31 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.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") [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.002095/0.002095, allocations: 67.91 kB / 493 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.342, allocations: 62.47 MB / 0.5424 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01008/0.3521, allocations: 7.137 MB / 0.5494 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00613/0.3582, allocations: 2.825 MB / 0.5522 GB, free: 8.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005634/0.3588, allocations: 36.47 kB / 0.5522 GB, free: 8.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.361, allocations: 0.7155 MB / 0.5529 GB, free: 8.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.3631, allocations: 0.7015 MB / 0.5536 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.3643, allocations: 385.9 kB / 0.554 GB, free: 7.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002324/0.3666, allocations: 1.352 MB / 0.5553 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.3676, allocations: 0.5537 MB / 0.5558 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.3688, allocations: 0.5787 MB / 0.5564 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.3698, allocations: 0.6383 MB / 0.557 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.37, allocations: 75.94 kB / 0.5571 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.3711, allocations: 0.4951 MB / 0.5576 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004862/0.3716, allocations: 458.8 kB / 0.558 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005249/0.3721, allocations: 422.1 kB / 0.5584 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.3741, allocations: 1.44 MB / 0.5598 GB, free: 2.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3741, allocations: 0 / 0.5598 GB, free: 2.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3741, allocations: 0 / 0.5598 GB, free: 2.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.3741, allocations: 0 / 0.5598 GB, free: 2.371 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00251/0.3766, allocations: 1.236 MB / 0.561 GB, free: 1.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3766, allocations: 19.92 kB / 0.561 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.3779, allocations: 216.1 kB / 0.5612 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.3797, allocations: 0.6655 MB / 0.5619 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.062e-05/0.3798, allocations: 66.36 kB / 0.562 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002836/0.3801, allocations: 107.8 kB / 0.5621 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.3821, allocations: 1.096 MB / 0.5631 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.3822, allocations: 0 / 0.5631 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.3823, allocations: 32 kB / 0.5632 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002204/0.3825, allocations: 69.95 kB / 0.5632 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.3841, allocations: 0.8704 MB / 0.5641 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005958/0.3901, allocations: 3.522 MB / 0.5675 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.3907, allocations: 333.7 kB / 0.5678 GB, free: 9.859 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004291/0.3912, allocations: 260.5 kB / 0.5681 GB, free: 9.602 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.3912, allocations: 4.438 kB / 0.5681 GB, free: 9.598 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.3913, allocations: 42.94 kB / 0.5681 GB, free: 9.547 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.374e-06/0.3913, allocations: 4 kB / 0.5681 GB, free: 9.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.003274/0.3945, allocations: 1.66 MB / 0.5698 GB, free: 7.848 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.3946, allocations: 85.55 kB / 0.5698 GB, free: 7.746 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000678/0.3953, allocations: 0.5263 MB / 0.5703 GB, free: 7.211 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.3953, allocations: 33.7 kB / 0.5704 GB, free: 7.172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003885/0.3957, allocations: 495.7 kB / 0.5709 GB, free: 6.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.3959, allocations: 198.3 kB / 0.571 GB, free: 6.484 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.3961, allocations: 138.6 kB / 0.5712 GB, free: 6.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.3963, allocations: 374.8 kB / 0.5715 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.3967, allocations: 245.8 kB / 0.5718 GB, free: 5.727 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006029/0.3973, allocations: 480.9 kB / 0.5722 GB, free: 5.164 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.3984, allocations: 0.7753 MB / 0.573 GB, free: 4.293 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3984, allocations: 7.938 kB / 0.573 GB, free: 4.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002193/0.4006, allocations: 1.037 MB / 0.574 GB, free: 3.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.4006, allocations: 12.16 kB / 0.574 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001428/0.402, allocations: 0.7064 MB / 0.5747 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007841/0.4028, allocations: 222.3 kB / 0.5749 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.4034, allocations: 159.8 kB / 0.5751 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006387/0.4098, allocations: 5.255 MB / 0.5802 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000619/0.4104, allocations: 35.97 kB / 0.5802 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.084e-05/0.4105, allocations: 36 kB / 0.5803 GB, free: 12.48 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005187/0.411, allocations: 307.4 kB / 0.5806 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.4111, allocations: 67.56 kB / 0.5806 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.4122, allocations: 0.6079 MB / 0.5812 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.4122, allocations: 11.92 kB / 0.5812 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4122, allocations: 4 kB / 0.5812 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4122, allocations: 0 / 0.5812 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.4147, allocations: 1.287 MB / 0.5825 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4147, allocations: 4.156 kB / 0.5825 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/0.4154, allocations: 127.9 kB / 0.5826 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.4154, allocations: 4 kB / 0.5826 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/0.4155, allocations: 15.94 kB / 0.5826 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.186e-06/0.4155, allocations: 4 kB / 0.5826 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/0.4155, allocations: 7.938 kB / 0.5826 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.4168, allocations: 0.9246 MB / 0.5835 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.4171, allocations: 103.5 kB / 0.5836 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.4172, allocations: 27.98 kB / 0.5837 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.4176, allocations: 15.98 kB / 0.5837 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.044e-05/0.4176, allocations: 40.25 kB / 0.5837 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.4177, allocations: 16 kB / 0.5837 GB, free: 8.812 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004696/0.4181, allocations: 366.8 kB / 0.5841 GB, free: 8.457 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4181, allocations: 0 / 0.5841 GB, free: 8.457 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009547/0.4191, allocations: 227.9 kB / 0.5843 GB, free: 8.234 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003526/0.4194, allocations: 138.4 kB / 0.5844 GB, free: 8.094 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001997/0.4214, allocations: 1.022 MB / 0.5854 GB, free: 7.039 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.4214, allocations: 0 / 0.5854 GB, free: 7.039 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004095/0.4219, allocations: 246.3 kB / 0.5857 GB, free: 6.801 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008384/0.4227, allocations: 139.2 kB / 0.5858 GB, free: 6.668 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.4264, allocations: 2.06 MB / 0.5878 GB, free: 4.559 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006781/0.4271, allocations: 482.5 kB / 0.5883 GB, free: 4.059 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000523/0.4276, allocations: 189.4 kB / 0.5885 GB, free: 3.871 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.4278, allocations: 55.42 kB / 0.5885 GB, free: 3.816 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4278, allocations: 0 / 0.5885 GB, free: 3.816 MB / 430.1 MB Notification: Performance of Templates: time 0.02074/0.4485, allocations: 9.807 MB / 0.5981 GB, free: 10.12 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.65964637324214] Failed to read output from testmodel.py, exit status != 0: 0.4593019373714924 0.47573565 0.09835619100000001 Calling exit ...