Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.001337/0.001337, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001449/0.001449, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.496/1.496, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.1904/0.1904, allocations: 38.54 MB / 353.2 MB, free: 12.3 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.TurbineGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",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.001995/0.001995, allocations: 67.91 kB / 493.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3301, allocations: 62.46 MB / 0.5427 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01202/0.3421, allocations: 8.981 MB / 0.5515 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006628/0.3487, allocations: 3.363 MB / 0.5548 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007737/0.3495, allocations: 42.03 kB / 0.5548 GB, free: 6.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003012/0.3525, allocations: 1.072 MB / 0.5559 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002467/0.355, allocations: 0.9103 MB / 0.5567 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.3564, allocations: 0.4885 MB / 0.5572 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.359, allocations: 1.802 MB / 0.559 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.3601, allocations: 0.755 MB / 0.5597 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.3613, allocations: 0.7939 MB / 0.5605 GB, free: 2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.3627, allocations: 0.9733 MB / 0.5614 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.3629, allocations: 104 kB / 0.5615 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.3641, allocations: 0.5811 MB / 0.5621 GB, free: 348 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006845/0.3648, allocations: 0.6584 MB / 0.5628 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007184/0.3655, allocations: 0.5756 MB / 0.5633 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.368, allocations: 1.938 MB / 0.5652 GB, free: 13.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.368, allocations: 0 / 0.5652 GB, free: 13.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.368, allocations: 0 / 0.5652 GB, free: 13.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.461e-05/0.368, allocations: 3.938 kB / 0.5652 GB, free: 13.15 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.003275/0.3713, allocations: 1.598 MB / 0.5668 GB, free: 11.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3713, allocations: 19.98 kB / 0.5668 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.934e-05/0.3714, allocations: 30.3 kB / 0.5668 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002286/0.3716, allocations: 177.6 kB / 0.567 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.3735, allocations: 315.7 kB / 0.5673 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.3757, allocations: 0.8693 MB / 0.5681 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.458e-05/0.3757, allocations: 82.09 kB / 0.5682 GB, free: 9.988 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/0.3761, allocations: 131.9 kB / 0.5683 GB, free: 9.859 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/0.3786, allocations: 1.493 MB / 0.5698 GB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.312e-05/0.3787, allocations: 7.938 kB / 0.5698 GB, free: 8.289 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.3788, allocations: 44 kB / 0.5699 GB, free: 8.246 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003315/0.3791, allocations: 102.1 kB / 0.5699 GB, free: 8.145 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.3813, allocations: 1.258 MB / 0.5712 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008244/0.3896, allocations: 4.876 MB / 0.5759 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.3906, allocations: 0.5544 MB / 0.5765 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007057/0.3913, allocations: 376.1 kB / 0.5768 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.241e-05/0.3914, allocations: 8.656 kB / 0.5768 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/0.3914, allocations: 51.14 kB / 0.5769 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 3.216e-06/0.3914, allocations: 4 kB / 0.5769 GB, free: 0.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.008067/0.3995, allocations: 3.209 MB / 0.58 GB, free: 13.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/0.3996, allocations: 85.77 kB / 0.5801 GB, free: 13.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.4008, allocations: 0.7352 MB / 0.5808 GB, free: 12.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.474e-05/0.4008, allocations: 37.7 kB / 0.5809 GB, free: 12.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005368/0.4014, allocations: 0.6013 MB / 0.5815 GB, free: 12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/0.4017, allocations: 289.6 kB / 0.5817 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003187/0.402, allocations: 178.6 kB / 0.5819 GB, free: 11.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000281/0.4023, allocations: 402.7 kB / 0.5823 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006529/0.4029, allocations: 393.8 kB / 0.5827 GB, free: 10.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009164/0.4038, allocations: 0.6613 MB / 0.5833 GB, free: 9.961 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.4055, allocations: 1.144 MB / 0.5844 GB, free: 8.699 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4055, allocations: 0 / 0.5844 GB, free: 8.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003713/0.4092, allocations: 1.687 MB / 0.5861 GB, free: 6.992 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.4093, allocations: 18.84 kB / 0.5861 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002823/0.4121, allocations: 1.282 MB / 0.5873 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/0.4141, allocations: 0.5769 MB / 0.5879 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006522/0.4148, allocations: 175.7 kB / 0.5881 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.4283, allocations: 9.761 MB / 0.5976 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008107/0.4291, allocations: 47.92 kB / 0.5977 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.943e-05/0.4291, allocations: 43.98 kB / 0.5977 GB, free: 10.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0007045/0.4299, allocations: 387.4 kB / 0.5981 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.43, allocations: 95.39 kB / 0.5982 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.4326, allocations: 1.24 MB / 0.5994 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.4326, allocations: 8 kB / 0.5994 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4326, allocations: 7.938 kB / 0.5994 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.4326, allocations: 15.92 kB / 0.5994 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004541/0.4372, allocations: 2.262 MB / 0.6016 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4372, allocations: 0 / 0.6016 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/0.4377, allocations: 112 kB / 0.6017 GB, free: 6.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.4389, allocations: 375.8 kB / 0.6021 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.346e-05/0.439, allocations: 31.91 kB / 0.6021 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00907/0.448, allocations: 8.746 MB / 0.6106 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.448, allocations: 4.031 kB / 0.6106 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/0.4511, allocations: 1.675 MB / 0.6123 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/0.4515, allocations: 163.2 kB / 0.6124 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.4516, allocations: 27.92 kB / 0.6125 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004771/0.4521, allocations: 23.98 kB / 0.6125 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.4523, allocations: 72.47 kB / 0.6126 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/0.4523, allocations: 20 kB / 0.6126 GB, free: 10.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007376/0.4531, allocations: 0.5068 MB / 0.6131 GB, free: 10.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4531, allocations: 0 / 0.6131 GB, free: 10.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001455/0.4545, allocations: 367.9 kB / 0.6134 GB, free: 9.738 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003562/0.4581, allocations: 2.265 MB / 0.6156 GB, free: 7.414 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00272/0.4608, allocations: 1.537 MB / 0.6171 GB, free: 5.828 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4608, allocations: 0 / 0.6171 GB, free: 5.828 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.4626, allocations: 1.068 MB / 0.6182 GB, free: 4.691 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.4637, allocations: 205 kB / 0.6184 GB, free: 4.496 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/0.4803, allocations: 9.916 MB / 0.6281 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008869/0.4812, allocations: 0.6605 MB / 0.6287 GB, free: 9.461 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006329/0.4818, allocations: 219.6 kB / 0.6289 GB, free: 9.242 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006115/0.4824, allocations: 443.3 kB / 0.6293 GB, free: 8.809 MB / 478.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4824, allocations: 0 / 0.6293 GB, free: 8.809 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07289/0.5553, allocations: 26.15 MB / 0.6549 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/15.8, allocations: 15.86 kB / 0.6549 GB, free: 14.95 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.71215450495947] Failed to read output from testmodel.py, exit status != 0: 15.99802574806381 16.021683493 15.649133488 Calling exit ...