Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Tables.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.001353/0.001353, 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.001513/0.001513, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.716/1.716, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.206/0.206, allocations: 38.53 MB / 353.2 MB, free: 12.52 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.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",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.001987/0.001987, allocations: 67.89 kB / 493.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3817, allocations: 62.47 MB / 0.5427 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003087/0.3848, allocations: 1.5 MB / 0.5442 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009577/0.3857, allocations: 0.5009 MB / 0.5447 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.087e-05/0.3858, allocations: 1.625 kB / 0.5447 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.386, allocations: 23.97 kB / 0.5447 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.3863, allocations: 78.8 kB / 0.5448 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.3866, allocations: 88.31 kB / 0.5449 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.3867, allocations: 66.64 kB / 0.5449 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.3868, allocations: 2.812 kB / 0.545 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.387, allocations: 34.66 kB / 0.545 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.3871, allocations: 31.53 kB / 0.545 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3871, allocations: 3.781 kB / 0.545 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.3873, allocations: 101.7 kB / 0.5451 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.31e-05/0.3874, allocations: 23.91 kB / 0.5451 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.3874, allocations: 23.88 kB / 0.5452 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.3877, allocations: 145.9 kB / 0.5453 GB, free: 14.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3877, allocations: 0 / 0.5453 GB, free: 14.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3877, allocations: 1.344 kB / 0.5453 GB, free: 14.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3877, allocations: 0 / 0.5453 GB, free: 14.48 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004703/0.3882, allocations: 325.4 kB / 0.5456 GB, free: 14.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3882, allocations: 14.92 kB / 0.5456 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.571e-05/0.3882, allocations: 192 / 0.5456 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.3883, allocations: 32.53 kB / 0.5457 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.3883, allocations: 12.67 kB / 0.5457 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.3885, allocations: 143 kB / 0.5458 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-06/0.3885, allocations: 384 / 0.5458 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.3885, allocations: 5.812 kB / 0.5458 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.3887, allocations: 63.84 kB / 0.5459 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3887, allocations: 0 / 0.5459 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3887, allocations: 1.781 kB / 0.5459 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.3887, allocations: 0 / 0.5459 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.429e-05/0.3887, allocations: 22.73 kB / 0.5459 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.3891, allocations: 254.8 kB / 0.5461 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.838e-05/0.3892, allocations: 39.25 kB / 0.5462 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.81e-05/0.3892, allocations: 12.89 kB / 0.5462 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.3892, allocations: 0 / 0.5462 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.3893, allocations: 32.22 kB / 0.5462 GB, free: 13.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.3893, allocations: 0 / 0.5462 GB, free: 13.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001864/0.3895, allocations: 66.38 kB / 0.5463 GB, free: 13.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.3895, allocations: 78.11 kB / 0.5464 GB, free: 13.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.3897, allocations: 163 kB / 0.5465 GB, free: 13.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.3897, allocations: 25.7 kB / 0.5465 GB, free: 13.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.3898, allocations: 100.2 kB / 0.5466 GB, free: 13.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.3898, allocations: 13.25 kB / 0.5466 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.3899, allocations: 21.78 kB / 0.5467 GB, free: 13.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.39, allocations: 320.2 kB / 0.547 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.3901, allocations: 12.06 kB / 0.547 GB, free: 12.74 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-05/0.3901, allocations: 15.22 kB / 0.547 GB, free: 12.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.329e-05/0.3901, allocations: 25.09 kB / 0.547 GB, free: 12.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3901, allocations: 0 / 0.547 GB, free: 12.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.343e-05/0.3902, allocations: 56.7 kB / 0.5471 GB, free: 12.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3902, allocations: 5.5 kB / 0.5471 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3902, allocations: 0 / 0.5471 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3903, allocations: 0 / 0.5471 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.127e-05/0.3903, allocations: 9.531 kB / 0.5471 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3903, allocations: 0 / 0.5471 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.702e-05/0.3903, allocations: 5.312 kB / 0.5471 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.3903, allocations: 1.375 kB / 0.5471 GB, free: 12.65 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.3905, allocations: 118 kB / 0.5472 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.3905, allocations: 8.078 kB / 0.5472 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.3906, allocations: 55.72 kB / 0.5473 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.3906, allocations: 1.375 kB / 0.5473 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.3906, allocations: 7.984 kB / 0.5473 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3906, allocations: 7.938 kB / 0.5473 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.3908, allocations: 146.5 kB / 0.5474 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3908, allocations: 0 / 0.5474 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.728e-05/0.3909, allocations: 8.109 kB / 0.5474 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3909, allocations: 1.375 kB / 0.5474 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3909, allocations: 0 / 0.5474 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3909, allocations: 1.375 kB / 0.5474 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3909, allocations: 0 / 0.5474 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.391, allocations: 154.6 kB / 0.5476 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.548e-05/0.391, allocations: 6.703 kB / 0.5476 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.391, allocations: 1.375 kB / 0.5476 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.297e-05/0.3911, allocations: 5.312 kB / 0.5476 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.3911, allocations: 7.922 kB / 0.5476 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.3911, allocations: 1.312 kB / 0.5476 GB, free: 12.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.3913, allocations: 123.5 kB / 0.5477 GB, free: 12.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3913, allocations: 0 / 0.5477 GB, free: 12.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.3916, allocations: 32.97 kB / 0.5478 GB, free: 12 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.002139/0.3937, allocations: 1.031 MB / 0.5488 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.3939, allocations: 22.8 kB / 0.5488 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3939, allocations: 4 kB / 0.5488 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.103e-05/0.3939, allocations: 10.09 kB / 0.5488 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.3943, allocations: 22.02 kB / 0.5488 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.3958, allocations: 1.372 MB / 0.5502 GB, free: 9.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.3962, allocations: 0.6903 MB / 0.5508 GB, free: 9.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.071e-05/0.3962, allocations: 20.03 kB / 0.5509 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.3963, allocations: 26.33 kB / 0.5509 GB, free: 9.129 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3963, allocations: 4 kB / 0.5509 GB, free: 9.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.421, allocations: 3.187 MB / 0.554 GB, free: 7.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.68, allocations: 10.06 kB / 0.554 GB, free: 7.23 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Tables.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Tables_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.001356120978016] Failed to read output from testmodel.py, exit status != 0: 11.905627100961283 11.93164052 11.539012708 Calling exit ...