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.00182/0.00182, 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.001603/0.001603, allocations: 210.8 kB / 23.73 MB, free: 4.391 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.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1886/0.1886, allocations: 38.55 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",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.002285/0.002285, allocations: 79.88 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3147, allocations: 62.46 MB / 0.542 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01326/0.328, allocations: 9.011 MB / 0.5508 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007859/0.3359, allocations: 3.363 MB / 0.554 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.3371, allocations: 50.28 kB / 0.5541 GB, free: 6.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004021/0.3411, allocations: 1.069 MB / 0.5551 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.3441, allocations: 0.9077 MB / 0.556 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.3457, allocations: 491.9 kB / 0.5565 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002816/0.3485, allocations: 1.811 MB / 0.5583 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.3498, allocations: 0.7394 MB / 0.559 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.3513, allocations: 0.7938 MB / 0.5597 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.353, allocations: 0.9188 MB / 0.5606 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002664/0.3532, allocations: 104 kB / 0.5607 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.3546, allocations: 0.5771 MB / 0.5613 GB, free: 388 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008337/0.3555, allocations: 0.6584 MB / 0.562 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009658/0.3564, allocations: 0.5755 MB / 0.5625 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002742/0.3592, allocations: 1.934 MB / 0.5644 GB, free: 13.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3592, allocations: 0 / 0.5644 GB, free: 13.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3592, allocations: 0 / 0.5644 GB, free: 13.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.994e-05/0.3592, allocations: 0 / 0.5644 GB, free: 13.2 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.003479/0.3627, allocations: 1.606 MB / 0.566 GB, free: 11.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3628, allocations: 11.98 kB / 0.566 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002264/0.363, allocations: 177.6 kB / 0.5662 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.3648, allocations: 311.8 kB / 0.5664 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.367, allocations: 0.8695 MB / 0.5673 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.71e-05/0.367, allocations: 82.09 kB / 0.5674 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003327/0.3674, allocations: 139.8 kB / 0.5675 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.3698, allocations: 1.489 MB / 0.569 GB, free: 8.375 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.3699, allocations: 3.953 kB / 0.569 GB, free: 8.371 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.37, allocations: 51.98 kB / 0.569 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003128/0.3703, allocations: 98.16 kB / 0.5691 GB, free: 8.223 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.3725, allocations: 1.261 MB / 0.5703 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008623/0.3811, allocations: 4.857 MB / 0.5751 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009815/0.3821, allocations: 0.5665 MB / 0.5756 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005719/0.3826, allocations: 379.9 kB / 0.576 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.468e-05/0.3827, allocations: 8.656 kB / 0.576 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.3827, allocations: 39.22 kB / 0.576 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 2.846e-06/0.3827, allocations: 0 / 0.576 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.007621/0.3903, allocations: 3.213 MB / 0.5792 GB, free: 13.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.3904, allocations: 85.77 kB / 0.5793 GB, free: 13.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.3916, allocations: 0.7545 MB / 0.58 GB, free: 12.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/0.3916, allocations: 33.73 kB / 0.58 GB, free: 12.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00051/0.3921, allocations: 0.6053 MB / 0.5806 GB, free: 12.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/0.3924, allocations: 285.6 kB / 0.5809 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003017/0.3927, allocations: 182.6 kB / 0.5811 GB, free: 11.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002494/0.393, allocations: 406.7 kB / 0.5815 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006722/0.3936, allocations: 389.8 kB / 0.5818 GB, free: 10.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009887/0.3946, allocations: 0.6574 MB / 0.5825 GB, free: 10.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.3964, allocations: 1.148 MB / 0.5836 GB, free: 8.773 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.3964, allocations: 4 kB / 0.5836 GB, free: 8.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00362/0.4, allocations: 1.69 MB / 0.5853 GB, free: 7.055 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.4001, allocations: 12 kB / 0.5853 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002912/0.403, allocations: 1.29 MB / 0.5865 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/0.405, allocations: 0.573 MB / 0.5871 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.4056, allocations: 175.7 kB / 0.5872 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/0.4193, allocations: 9.752 MB / 0.5968 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007935/0.4201, allocations: 55.91 kB / 0.5968 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/0.4202, allocations: 40 kB / 0.5969 GB, free: 10.68 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.0006403/0.4208, allocations: 397.3 kB / 0.5972 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.421, allocations: 95.39 kB / 0.5973 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.4235, allocations: 1.232 MB / 0.5985 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.4235, allocations: 8 kB / 0.5985 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.4235, allocations: 4.062 kB / 0.5985 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.4235, allocations: 7.984 kB / 0.5986 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004495/0.428, allocations: 2.285 MB / 0.6008 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.428, allocations: 0 / 0.6008 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004743/0.4285, allocations: 99.88 kB / 0.6009 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/0.4297, allocations: 376 kB / 0.6012 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.041e-05/0.4297, allocations: 27.98 kB / 0.6013 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009204/0.439, allocations: 8.754 MB / 0.6098 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.439, allocations: 3.938 kB / 0.6098 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003086/0.442, allocations: 1.675 MB / 0.6115 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000512/0.4426, allocations: 159.2 kB / 0.6116 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.4427, allocations: 24 kB / 0.6116 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/0.4432, allocations: 27.97 kB / 0.6117 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.4433, allocations: 60.48 kB / 0.6117 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.4434, allocations: 31.98 kB / 0.6117 GB, free: 10.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007356/0.4441, allocations: 0.5029 MB / 0.6122 GB, free: 10.17 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4441, allocations: 0 / 0.6122 GB, free: 10.17 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001356/0.4455, allocations: 367.9 kB / 0.6126 GB, free: 9.812 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.003493/0.449, allocations: 2.269 MB / 0.6148 GB, free: 7.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00267/0.4516, allocations: 1.535 MB / 0.6163 GB, free: 5.898 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.4516, allocations: 0 / 0.6163 GB, free: 5.898 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.4533, allocations: 1.065 MB / 0.6173 GB, free: 4.766 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.4544, allocations: 206.6 kB / 0.6175 GB, free: 4.566 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/0.4714, allocations: 9.918 MB / 0.6272 GB, free: 10.23 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008826/0.4723, allocations: 0.6644 MB / 0.6279 GB, free: 9.527 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006549/0.473, allocations: 215.6 kB / 0.6281 GB, free: 9.312 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006036/0.4736, allocations: 439.3 kB / 0.6285 GB, free: 8.883 MB / 478.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4736, allocations: 3.938 kB / 0.6285 GB, free: 8.879 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/0.5914, allocations: 26.19 MB / 0.6541 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/14.7, allocations: 13.75 kB / 0.6541 GB, free: 14.95 MB / 0.4981 GB " [Timeout remaining time 645] (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: 17.59746215539053] Failed to read output from testmodel.py, exit status != 0: 14.837420529220253 14.86602426 14.501541157 Calling exit ...