Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.00152/0.00152, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001687/0.001687, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.456/1.456, allocations: 225.6 MB / 249.1 MB, free: 3.609 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.1857/0.1857, allocations: 38.5 MB / 342.5 MB, free: 8.023 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.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 66.95 kB / 478.6 MB, free: 33.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09781/0.09975, allocations: 61.24 MB / 0.5272 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006563/0.1063, allocations: 4.61 MB / 0.5317 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.1088, allocations: 1.32 MB / 0.533 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.1091, allocations: 15.94 kB / 0.533 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.1103, allocations: 406.2 kB / 0.5334 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005594/0.1109, allocations: 254.8 kB / 0.5336 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.1113, allocations: 171.6 kB / 0.5338 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006328/0.1119, allocations: 0.553 MB / 0.5343 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004038/0.1123, allocations: 225.2 kB / 0.5346 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004049/0.1127, allocations: 263 kB / 0.5348 GB, free: 9.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005237/0.1133, allocations: 302.9 kB / 0.5351 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.79e-05/0.1133, allocations: 32 kB / 0.5351 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.1136, allocations: 127.8 kB / 0.5353 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.1138, allocations: 203.4 kB / 0.5354 GB, free: 8.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.114, allocations: 219 kB / 0.5357 GB, free: 8.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006448/0.1147, allocations: 0.502 MB / 0.5361 GB, free: 8.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.1147, allocations: 15.94 kB / 0.5362 GB, free: 8.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1147, allocations: 0 / 0.5362 GB, free: 8.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1147, allocations: 0 / 0.5362 GB, free: 8.156 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001217/0.1159, allocations: 0.7063 MB / 0.5369 GB, free: 7.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.116, allocations: 15.89 kB / 0.5369 GB, free: 7.387 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.882e-05/0.1161, allocations: 82.64 kB / 0.5369 GB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005967/0.1167, allocations: 88.59 kB / 0.537 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000741/0.1174, allocations: 415.4 kB / 0.5374 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.1174, allocations: 25.38 kB / 0.5375 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.1176, allocations: 51.88 kB / 0.5375 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007154/0.1183, allocations: 476.8 kB / 0.538 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.1183, allocations: 8 kB / 0.538 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.1183, allocations: 16 kB / 0.538 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.1184, allocations: 20.98 kB / 0.538 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005606/0.119, allocations: 355.7 kB / 0.5383 GB, free: 5.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.1214, allocations: 1.718 MB / 0.54 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.1217, allocations: 153.1 kB / 0.5402 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.1219, allocations: 105.7 kB / 0.5403 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1219, allocations: 288 / 0.5403 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.1219, allocations: 42.48 kB / 0.5403 GB, free: 3.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.1219, allocations: 4 kB / 0.5403 GB, free: 3.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.00154/0.1235, allocations: 0.8875 MB / 0.5412 GB, free: 2.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.1235, allocations: 77.11 kB / 0.5412 GB, free: 2.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.1239, allocations: 320.4 kB / 0.5416 GB, free: 2.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1239, allocations: 25.7 kB / 0.5416 GB, free: 2.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.1241, allocations: 264.1 kB / 0.5418 GB, free: 1.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.167e-05/0.1241, allocations: 71.47 kB / 0.5419 GB, free: 1.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.1242, allocations: 57.94 kB / 0.542 GB, free: 1.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1244, allocations: 342.8 kB / 0.5423 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.1246, allocations: 100.2 kB / 0.5424 GB, free: 1.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.1248, allocations: 197.2 kB / 0.5426 GB, free: 1.148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.1252, allocations: 331.4 kB / 0.5429 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.1252, allocations: 4 kB / 0.5429 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009211/0.1262, allocations: 461.8 kB / 0.5433 GB, free: 324 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1262, allocations: 4 kB / 0.5433 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006241/0.1268, allocations: 317.2 kB / 0.5436 GB, free: 0 / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005089/0.1273, allocations: 140.9 kB / 0.5438 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.1275, allocations: 55.92 kB / 0.5438 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/0.1306, allocations: 2.441 MB / 0.5462 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.1308, allocations: 12 kB / 0.5462 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.1308, allocations: 19.94 kB / 0.5462 GB, free: 13.2 MB / 414.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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002324/0.131, allocations: 181.7 kB / 0.5464 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-05/0.1311, allocations: 35.77 kB / 0.5464 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004696/0.1316, allocations: 265.3 kB / 0.5467 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1316, allocations: 8 kB / 0.5467 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.1316, allocations: 0 / 0.5467 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.1316, allocations: 3.984 kB / 0.5467 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.1328, allocations: 0.7428 MB / 0.5474 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1328, allocations: 0 / 0.5474 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.1331, allocations: 36.05 kB / 0.5475 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/0.1332, allocations: 40.83 kB / 0.5475 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.1332, allocations: 3.984 kB / 0.5475 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.1332, allocations: 7.938 kB / 0.5475 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1332, allocations: 0 / 0.5475 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005879/0.1338, allocations: 442.6 kB / 0.5479 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.727e-05/0.1339, allocations: 108.9 kB / 0.548 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.1339, allocations: 8 kB / 0.548 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1341, allocations: 11.92 kB / 0.5481 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.1341, allocations: 15.92 kB / 0.5481 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.1341, allocations: 4 kB / 0.5481 GB, free: 11.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002375/0.1344, allocations: 223 kB / 0.5483 GB, free: 10.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1344, allocations: 4 kB / 0.5483 GB, free: 10.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004502/0.1348, allocations: 84 kB / 0.5484 GB, free: 10.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009019/0.1357, allocations: 0.982 MB / 0.5493 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007322/0.1364, allocations: 393.7 kB / 0.5497 GB, free: 9.449 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1365, allocations: 4.25 kB / 0.5497 GB, free: 9.445 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.1367, allocations: 173.9 kB / 0.5499 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.1372, allocations: 64.8 kB / 0.5499 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004809/0.142, allocations: 3.573 MB / 0.5534 GB, free: 5.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.1425, allocations: 0.838 MB / 0.5542 GB, free: 4.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000193/0.1427, allocations: 74.84 kB / 0.5543 GB, free: 4.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.1428, allocations: 123.4 kB / 0.5544 GB, free: 4.379 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1428, allocations: 0 / 0.5544 GB, free: 4.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03723/0.1801, allocations: 7.406 MB / 0.5617 GB, free: 13.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.68, allocations: 7.562 kB / 0.5617 GB, free: 13.09 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.498592725023627] Failed to read output from testmodel.py, exit status != 0: 12.776489597279578 12.796022789 12.677453217 Calling exit ...