Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001351/0.001351, 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.00156/0.00156, allocations: 211.1 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.186/0.186, allocations: 38.55 MB / 352.5 MB, free: 12.29 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",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.002889/0.002889, allocations: 63.91 kB / 492.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3365, allocations: 62.46 MB / 0.542 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.009806/0.3463, allocations: 7.153 MB / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005308/0.3516, allocations: 2.816 MB / 0.5517 GB, free: 8.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003931/0.352, allocations: 41.25 kB / 0.5517 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.3541, allocations: 0.7193 MB / 0.5524 GB, free: 8.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.3558, allocations: 0.7014 MB / 0.5531 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009755/0.3568, allocations: 381.9 kB / 0.5535 GB, free: 7.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.3585, allocations: 1.351 MB / 0.5548 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008548/0.3594, allocations: 0.5549 MB / 0.5553 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008848/0.3603, allocations: 0.5777 MB / 0.5559 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009947/0.3613, allocations: 0.6406 MB / 0.5565 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.3614, allocations: 76 kB / 0.5566 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.3625, allocations: 499.1 kB / 0.5571 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004978/0.363, allocations: 450.8 kB / 0.5575 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005454/0.3635, allocations: 434 kB / 0.5579 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.3655, allocations: 1.44 MB / 0.5593 GB, free: 2.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3655, allocations: 0 / 0.5593 GB, free: 2.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3655, allocations: 0 / 0.5593 GB, free: 2.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.3655, allocations: 4 kB / 0.5593 GB, free: 2.402 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.00233/0.3679, allocations: 1.236 MB / 0.5605 GB, free: 1.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3679, allocations: 11.98 kB / 0.5605 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001695/0.3681, allocations: 139.6 kB / 0.5607 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.3693, allocations: 216.1 kB / 0.5609 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.371, allocations: 0.6693 MB / 0.5615 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.073e-05/0.371, allocations: 66.12 kB / 0.5616 GB, free: 0 / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002611/0.3713, allocations: 103.9 kB / 0.5617 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.373, allocations: 1.103 MB / 0.5628 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.373, allocations: 3.938 kB / 0.5628 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.916e-05/0.3731, allocations: 39.98 kB / 0.5628 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001758/0.3733, allocations: 65.97 kB / 0.5629 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.3748, allocations: 0.8704 MB / 0.5637 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005738/0.3805, allocations: 3.654 MB / 0.5673 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006481/0.3812, allocations: 330.8 kB / 0.5676 GB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/0.3816, allocations: 260.6 kB / 0.5679 GB, free: 9.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.3816, allocations: 12.38 kB / 0.5679 GB, free: 9.324 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.3817, allocations: 38.94 kB / 0.5679 GB, free: 9.277 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.274e-06/0.3817, allocations: 0 / 0.5679 GB, free: 9.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.003296/0.385, allocations: 1.664 MB / 0.5695 GB, free: 7.578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.385, allocations: 85.55 kB / 0.5696 GB, free: 7.477 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008741/0.3859, allocations: 0.5976 MB / 0.5702 GB, free: 6.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.386, allocations: 33.7 kB / 0.5702 GB, free: 6.836 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.3864, allocations: 483.7 kB / 0.5707 GB, free: 6.355 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.3866, allocations: 198.3 kB / 0.5709 GB, free: 6.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.3868, allocations: 134.6 kB / 0.571 GB, free: 6.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.387, allocations: 386.9 kB / 0.5714 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/0.3874, allocations: 253.8 kB / 0.5716 GB, free: 5.387 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000669/0.3881, allocations: 472.9 kB / 0.5721 GB, free: 4.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.3892, allocations: 0.7792 MB / 0.5728 GB, free: 3.957 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3892, allocations: 0 / 0.5728 GB, free: 3.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00213/0.3914, allocations: 1.041 MB / 0.5739 GB, free: 2.898 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.3914, allocations: 10.66 kB / 0.5739 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001497/0.3929, allocations: 0.7183 MB / 0.5746 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007803/0.3937, allocations: 214.3 kB / 0.5748 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005558/0.3942, allocations: 159.7 kB / 0.5749 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006513/0.4007, allocations: 5.333 MB / 0.5801 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006624/0.4014, allocations: 39.92 kB / 0.5802 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.845e-05/0.4014, allocations: 28 kB / 0.5802 GB, free: 12.04 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.0005459/0.402, allocations: 309.5 kB / 0.5805 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.4021, allocations: 67.58 kB / 0.5806 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.4032, allocations: 0.6124 MB / 0.5812 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.4032, allocations: 4 kB / 0.5812 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.4032, allocations: 4 kB / 0.5812 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.4032, allocations: 3.984 kB / 0.5812 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.406, allocations: 1.407 MB / 0.5825 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.406, allocations: 4 kB / 0.5825 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006495/0.4066, allocations: 123.9 kB / 0.5827 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.4066, allocations: 7.938 kB / 0.5827 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-05/0.4067, allocations: 12 kB / 0.5827 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/0.4067, allocations: 12.08 kB / 0.5827 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4067, allocations: 4 kB / 0.5827 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.4081, allocations: 0.9323 MB / 0.5836 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/0.4084, allocations: 123.7 kB / 0.5837 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-05/0.4085, allocations: 16 kB / 0.5837 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.4089, allocations: 15.98 kB / 0.5838 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.4089, allocations: 36.31 kB / 0.5838 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.409, allocations: 16 kB / 0.5838 GB, free: 8.215 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005416/0.4095, allocations: 423 kB / 0.5842 GB, free: 7.809 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4095, allocations: 0 / 0.5842 GB, free: 7.809 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008532/0.4104, allocations: 235.9 kB / 0.5844 GB, free: 7.578 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.001968/0.4123, allocations: 1.519 MB / 0.5859 GB, free: 6.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.4142, allocations: 1.007 MB / 0.5869 GB, free: 4.977 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.4142, allocations: 384 / 0.5869 GB, free: 4.977 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.4146, allocations: 250.3 kB / 0.5871 GB, free: 4.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008927/0.4155, allocations: 154 kB / 0.5873 GB, free: 4.586 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.4266, allocations: 7.16 MB / 0.5943 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/0.4272, allocations: 486.7 kB / 0.5947 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005532/0.4278, allocations: 189.9 kB / 0.5949 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005085/0.4283, allocations: 327.3 kB / 0.5952 GB, free: 12.09 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4283, allocations: 4 kB / 0.5952 GB, free: 12.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05679/0.4851, allocations: 17.67 MB / 0.6125 GB, free: 10.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.1, allocations: 4 kB / 0.6125 GB, free: 10.64 MB / 462.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.077412487939] Failed to read output from testmodel.py, exit status != 0: 14.236443903762847 14.261066019 13.890523904 Calling exit ...