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.001375/0.001375, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001489/0.001489, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.1903/0.1903, allocations: 38.53 MB / 353.2 MB, free: 12.57 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="cs",version="2.0",platforms={"static"}) [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.002172/0.002172, allocations: 67.88 kB / 493.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3221, allocations: 62.48 MB / 0.5428 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.009941/0.332, allocations: 7.734 MB / 0.5503 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006439/0.3385, allocations: 3.049 MB / 0.5533 GB, free: 7.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007892/0.3393, allocations: 36.59 kB / 0.5534 GB, free: 7.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002501/0.3418, allocations: 0.7568 MB / 0.5541 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.344, allocations: 0.7163 MB / 0.5548 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.3453, allocations: 378.9 kB / 0.5552 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002509/0.3478, allocations: 1.357 MB / 0.5565 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.3489, allocations: 0.5582 MB / 0.557 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.3502, allocations: 0.5733 MB / 0.5576 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.3516, allocations: 0.6722 MB / 0.5582 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.3517, allocations: 75.53 kB / 0.5583 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.353, allocations: 0.5341 MB / 0.5588 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005832/0.3536, allocations: 458.8 kB / 0.5593 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008058/0.3544, allocations: 0.5092 MB / 0.5598 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002668/0.3571, allocations: 1.44 MB / 0.5612 GB, free: 1.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3571, allocations: 0 / 0.5612 GB, free: 1.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3571, allocations: 4 kB / 0.5612 GB, free: 1.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.093e-05/0.3571, allocations: 0 / 0.5612 GB, free: 1.625 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.003074/0.3602, allocations: 1.236 MB / 0.5624 GB, free: 360 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.3602, allocations: 11.98 kB / 0.5624 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.192e-05/0.3602, allocations: 22.19 kB / 0.5624 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001835/0.3604, allocations: 135.7 kB / 0.5625 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.3619, allocations: 216.1 kB / 0.5628 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.364, allocations: 0.681 MB / 0.5634 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.759e-05/0.364, allocations: 69.91 kB / 0.5635 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000368/0.3644, allocations: 99.88 kB / 0.5636 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.3664, allocations: 1.096 MB / 0.5646 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.3664, allocations: 7.984 kB / 0.5647 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.574e-05/0.3665, allocations: 32 kB / 0.5647 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001745/0.3667, allocations: 65.97 kB / 0.5648 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.3682, allocations: 0.8704 MB / 0.5656 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006395/0.3746, allocations: 3.895 MB / 0.5694 GB, free: 8.887 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006865/0.3753, allocations: 338.7 kB / 0.5697 GB, free: 8.539 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004217/0.3757, allocations: 255 kB / 0.57 GB, free: 8.285 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.3757, allocations: 16.36 kB / 0.57 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.3758, allocations: 38.94 kB / 0.57 GB, free: 8.223 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.284e-06/0.3758, allocations: 4 kB / 0.57 GB, free: 8.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.003414/0.3792, allocations: 1.656 MB / 0.5716 GB, free: 6.527 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/0.3793, allocations: 97.59 kB / 0.5717 GB, free: 6.414 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008105/0.3801, allocations: 0.5822 MB / 0.5723 GB, free: 5.824 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/0.3801, allocations: 37.7 kB / 0.5723 GB, free: 5.781 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/0.3806, allocations: 479.7 kB / 0.5728 GB, free: 5.305 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.3808, allocations: 202.3 kB / 0.573 GB, free: 5.105 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.381, allocations: 138.6 kB / 0.5731 GB, free: 4.961 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.3812, allocations: 378.8 kB / 0.5735 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.3816, allocations: 249.8 kB / 0.5737 GB, free: 4.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/0.3823, allocations: 480.9 kB / 0.5742 GB, free: 3.773 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.3835, allocations: 0.7753 MB / 0.5749 GB, free: 2.902 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3835, allocations: 0 / 0.5749 GB, free: 2.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002306/0.3858, allocations: 1.041 MB / 0.576 GB, free: 1.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.3858, allocations: 8 kB / 0.576 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001526/0.3873, allocations: 0.7144 MB / 0.5767 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008179/0.3881, allocations: 226.3 kB / 0.5769 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/0.3887, allocations: 151.7 kB / 0.577 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006806/0.3955, allocations: 5.362 MB / 0.5823 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006669/0.3962, allocations: 39.97 kB / 0.5823 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.3963, allocations: 32.06 kB / 0.5823 GB, free: 10.95 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.0005389/0.3968, allocations: 305.4 kB / 0.5826 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.397, allocations: 71.53 kB / 0.5827 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.3981, allocations: 0.6085 MB / 0.5833 GB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.3981, allocations: 4 kB / 0.5833 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3981, allocations: 0 / 0.5833 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3981, allocations: 4 kB / 0.5833 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.401, allocations: 1.466 MB / 0.5847 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.401, allocations: 0 / 0.5847 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006659/0.4017, allocations: 127.9 kB / 0.5848 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/0.4017, allocations: 3.938 kB / 0.5848 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.4018, allocations: 16 kB / 0.5849 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.4018, allocations: 7.938 kB / 0.5849 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4018, allocations: 3.938 kB / 0.5849 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.4032, allocations: 0.9441 MB / 0.5858 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003281/0.4036, allocations: 111.4 kB / 0.5859 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.4037, allocations: 16 kB / 0.5859 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.404, allocations: 23.98 kB / 0.5859 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/0.4041, allocations: 32.38 kB / 0.586 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/0.4042, allocations: 16 kB / 0.586 GB, free: 7.078 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000616/0.4048, allocations: 423 kB / 0.5864 GB, free: 6.668 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4048, allocations: 0 / 0.5864 GB, free: 6.668 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009758/0.4057, allocations: 231.9 kB / 0.5866 GB, free: 6.441 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.002102/0.4078, allocations: 1.514 MB / 0.5881 GB, free: 4.895 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.4098, allocations: 1.014 MB / 0.5891 GB, free: 3.844 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4098, allocations: 0 / 0.5891 GB, free: 3.844 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004305/0.4103, allocations: 251.7 kB / 0.5893 GB, free: 3.598 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009805/0.4112, allocations: 148.8 kB / 0.5895 GB, free: 3.461 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.4237, allocations: 7.156 MB / 0.5964 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.4248, allocations: 1.09 MB / 0.5975 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006463/0.4254, allocations: 185.9 kB / 0.5977 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005437/0.426, allocations: 331.3 kB / 0.598 GB, free: 10.34 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.426, allocations: 0 / 0.598 GB, free: 10.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06906/0.495, allocations: 17.48 MB / 0.6151 GB, free: 9.043 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/15.08, allocations: 25.88 kB / 0.6151 GB, free: 9.023 MB / 462.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.950259472010657] Failed to read output from testmodel.py, exit status != 0: 15.271516338980291 15.295383955 14.933435718 Calling exit ...