Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 125 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 249.1 MB, free: 3.484 MB / 190.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.1876/0.1876, allocations: 38.49 MB / 342.5 MB, free: 8.008 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 70.27 kB / 478.6 MB, free: 33.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09431/0.09625, allocations: 61.25 MB / 0.5272 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005741/0.102, allocations: 3.941 MB / 0.5311 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.1034, allocations: 0.8728 MB / 0.5319 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.1036, allocations: 11.94 kB / 0.5319 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.1038, allocations: 43.56 kB / 0.532 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004758/0.1042, allocations: 175 kB / 0.5321 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.1044, allocations: 83.83 kB / 0.5322 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000452/0.1049, allocations: 382.6 kB / 0.5326 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.1051, allocations: 60.56 kB / 0.5326 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.1054, allocations: 175.3 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.1057, allocations: 167.3 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.1057, allocations: 16 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.54e-05/0.1057, allocations: 20 kB / 0.533 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1059, allocations: 75.73 kB / 0.5331 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.106, allocations: 135.3 kB / 0.5332 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.1063, allocations: 262.8 kB / 0.5335 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1063, allocations: 0 / 0.5335 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1063, allocations: 0 / 0.5335 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.1063, allocations: 4 kB / 0.5335 GB, free: 10.96 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009649/0.1073, allocations: 0.5604 MB / 0.534 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1074, allocations: 11.89 kB / 0.534 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.37e-05/0.1074, allocations: 58.72 kB / 0.5341 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.1075, allocations: 32.75 kB / 0.5341 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005718/0.108, allocations: 331.9 kB / 0.5344 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.1081, allocations: 16.44 kB / 0.5344 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.1081, allocations: 16 kB / 0.5345 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004366/0.1085, allocations: 270 kB / 0.5347 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1086, allocations: 4 kB / 0.5347 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.1086, allocations: 7.984 kB / 0.5347 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1086, allocations: 8 kB / 0.5347 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.1089, allocations: 167.8 kB / 0.5349 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.1104, allocations: 1.179 MB / 0.536 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.1106, allocations: 73.11 kB / 0.5361 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.518e-05/0.1107, allocations: 33.78 kB / 0.5361 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.1107, allocations: 4 kB / 0.5361 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.1107, allocations: 34.59 kB / 0.5362 GB, free: 7.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.1107, allocations: 0 / 0.5362 GB, free: 7.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008046/0.1115, allocations: 413.5 kB / 0.5366 GB, free: 7.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.1116, allocations: 85.14 kB / 0.5367 GB, free: 7.363 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.1118, allocations: 246.5 kB / 0.5369 GB, free: 7.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1118, allocations: 25.7 kB / 0.5369 GB, free: 7.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.112, allocations: 195.9 kB / 0.5371 GB, free: 6.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.112, allocations: 31.77 kB / 0.5371 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.1121, allocations: 45.67 kB / 0.5372 GB, free: 6.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1122, allocations: 330.8 kB / 0.5375 GB, free: 6.469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/0.1123, allocations: 31.98 kB / 0.5375 GB, free: 6.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.1124, allocations: 115.1 kB / 0.5376 GB, free: 6.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.1126, allocations: 176.6 kB / 0.5378 GB, free: 6.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1126, allocations: 0 / 0.5378 GB, free: 6.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002752/0.1129, allocations: 181.2 kB / 0.538 GB, free: 5.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.1129, allocations: 11.94 kB / 0.538 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.1129, allocations: 4 kB / 0.538 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.113, allocations: 4 kB / 0.538 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.1131, allocations: 47.91 kB / 0.538 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.1132, allocations: 4.438 kB / 0.538 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.411e-05/0.1132, allocations: 8 kB / 0.538 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.1133, allocations: 12 kB / 0.5381 GB, free: 5.789 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (22): * Single equations (assignments): 22 * 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.0001603/0.1134, allocations: 149.7 kB / 0.5382 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.1135, allocations: 27.8 kB / 0.5382 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.1137, allocations: 95.31 kB / 0.5383 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1137, allocations: 4 kB / 0.5383 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1137, allocations: 0 / 0.5383 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1137, allocations: 0 / 0.5383 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.1142, allocations: 423.3 kB / 0.5387 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1142, allocations: 0 / 0.5387 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.447e-05/0.1143, allocations: 19.92 kB / 0.5387 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1143, allocations: 4 kB / 0.5387 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.1143, allocations: 0 / 0.5387 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1143, allocations: 0 / 0.5387 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1143, allocations: 448 / 0.5387 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.1146, allocations: 237 kB / 0.539 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.1147, allocations: 97 kB / 0.5391 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1147, allocations: 0 / 0.5391 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-05/0.1148, allocations: 7.984 kB / 0.5391 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.1148, allocations: 8 kB / 0.5391 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1148, allocations: 4 kB / 0.5391 GB, free: 4.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.115, allocations: 170 kB / 0.5392 GB, free: 4.449 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.115, allocations: 8 kB / 0.5393 GB, free: 4.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.1152, allocations: 36 kB / 0.5393 GB, free: 4.406 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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.0005891/0.1158, allocations: 0.7725 MB / 0.54 GB, free: 3.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.116, allocations: 87.84 kB / 0.5401 GB, free: 3.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.116, allocations: 0 / 0.5401 GB, free: 3.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.181e-05/0.1161, allocations: 20 kB / 0.5401 GB, free: 3.496 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.1166, allocations: 65.36 kB / 0.5402 GB, free: 3.438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.1193, allocations: 2.306 MB / 0.5425 GB, free: 0.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.1197, allocations: 0.7558 MB / 0.5432 GB, free: 176 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.1198, allocations: 34.27 kB / 0.5432 GB, free: 140 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.893e-05/0.1199, allocations: 75.41 kB / 0.5433 GB, free: 64 kB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1199, allocations: 0 / 0.5433 GB, free: 64 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.1483, allocations: 4.176 MB / 0.5474 GB, free: 11.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.379, allocations: 13.41 kB / 0.5474 GB, free: 11.98 MB / 414.1 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.075273520778865] Failed to read output from testmodel.py, exit status != 0: 8.45179114304483 8.480277486 8.368937249 Calling exit ...