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.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.001352/0.001352, allocations: 113 kB / 18.49 MB, free: 4.598 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.001469/0.001469, allocations: 213.4 kB / 21.45 MB, free: 1.652 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.516/1.516, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.1919/0.1919, allocations: 38.5 MB / 349.4 MB, free: 2.605 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.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.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",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.002013/0.002013, allocations: 63.91 kB / 487.8 MB, free: 22.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1109, allocations: 62.41 MB / 0.5374 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006337/0.1173, allocations: 4.628 MB / 0.5419 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.1196, allocations: 1.363 MB / 0.5432 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.1198, allocations: 15.88 kB / 0.5432 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.121, allocations: 410.3 kB / 0.5436 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006285/0.1216, allocations: 254.8 kB / 0.5439 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.1221, allocations: 167.6 kB / 0.544 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000664/0.1228, allocations: 0.5608 MB / 0.5446 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004113/0.1232, allocations: 233.2 kB / 0.5448 GB, free: 44 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.1236, allocations: 266.9 kB / 0.545 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005127/0.1241, allocations: 303 kB / 0.5453 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.012e-05/0.1242, allocations: 28 kB / 0.5454 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002592/0.1245, allocations: 131.8 kB / 0.5455 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.1247, allocations: 199.5 kB / 0.5457 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.1249, allocations: 218.9 kB / 0.5459 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006209/0.1255, allocations: 0.5136 MB / 0.5464 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1255, allocations: 0 / 0.5464 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1255, allocations: 0 / 0.5464 GB, free: 14.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1255, allocations: 0 / 0.5464 GB, free: 14.4 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00128/0.1268, allocations: 0.7103 MB / 0.5471 GB, free: 13.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1268, allocations: 12.03 kB / 0.5471 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.765e-05/0.1269, allocations: 9.188 kB / 0.5471 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.403e-05/0.127, allocations: 78.72 kB / 0.5472 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006376/0.1276, allocations: 92.53 kB / 0.5473 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007268/0.1283, allocations: 415.4 kB / 0.5477 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.1284, allocations: 25.12 kB / 0.5477 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.1285, allocations: 40 kB / 0.5477 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007499/0.1292, allocations: 484.8 kB / 0.5482 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.1293, allocations: 3.938 kB / 0.5482 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.1293, allocations: 16 kB / 0.5482 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/0.1294, allocations: 24.98 kB / 0.5482 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005651/0.13, allocations: 351.7 kB / 0.5486 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.1323, allocations: 1.726 MB / 0.5502 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.1326, allocations: 145 kB / 0.5504 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.1328, allocations: 109.7 kB / 0.5505 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.1328, allocations: 8 kB / 0.5505 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1328, allocations: 34.84 kB / 0.5505 GB, free: 9.883 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.1328, allocations: 0 / 0.5505 GB, free: 9.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001636/0.1345, allocations: 0.8948 MB / 0.5514 GB, free: 8.918 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.1345, allocations: 85.23 kB / 0.5515 GB, free: 8.816 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.1349, allocations: 308.5 kB / 0.5518 GB, free: 8.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.1349, allocations: 29.69 kB / 0.5518 GB, free: 8.465 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.1351, allocations: 260 kB / 0.552 GB, free: 8.207 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.1352, allocations: 71.38 kB / 0.5521 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.1353, allocations: 57.98 kB / 0.5522 GB, free: 8.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1355, allocations: 346.7 kB / 0.5525 GB, free: 7.723 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.1357, allocations: 100.2 kB / 0.5526 GB, free: 7.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.136, allocations: 193.4 kB / 0.5528 GB, free: 7.391 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004423/0.1364, allocations: 331.4 kB / 0.5531 GB, free: 7.023 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1364, allocations: 7.938 kB / 0.5531 GB, free: 7.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009625/0.1374, allocations: 469.5 kB / 0.5536 GB, free: 6.547 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1374, allocations: 8 kB / 0.5536 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006576/0.138, allocations: 316.3 kB / 0.5539 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000534/0.1386, allocations: 136.7 kB / 0.554 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.1388, allocations: 55.91 kB / 0.554 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/0.142, allocations: 2.437 MB / 0.5564 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.1422, allocations: 15.98 kB / 0.5564 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.1422, allocations: 12 kB / 0.5565 GB, free: 3.441 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.0002616/0.1425, allocations: 197.6 kB / 0.5566 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/0.1425, allocations: 27.81 kB / 0.5567 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005051/0.143, allocations: 265.4 kB / 0.5569 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.143, allocations: 0 / 0.5569 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.143, allocations: 0 / 0.5569 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.143, allocations: 4 kB / 0.5569 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.1442, allocations: 0.7389 MB / 0.5576 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.1442, allocations: 8.047 kB / 0.5577 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.1445, allocations: 35.98 kB / 0.5577 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001137/0.1446, allocations: 36.83 kB / 0.5577 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.1446, allocations: 4 kB / 0.5577 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1446, allocations: 0 / 0.5577 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.1446, allocations: 7.938 kB / 0.5577 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005898/0.1452, allocations: 438.7 kB / 0.5582 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.654e-05/0.1453, allocations: 105 kB / 0.5583 GB, free: 1.457 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.1453, allocations: 8 kB / 0.5583 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.1455, allocations: 4 kB / 0.5583 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.1455, allocations: 31.84 kB / 0.5583 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.1455, allocations: 4 kB / 0.5583 GB, free: 1.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002415/0.1458, allocations: 215.1 kB / 0.5585 GB, free: 1.199 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1458, allocations: 0 / 0.5585 GB, free: 1.199 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004809/0.1463, allocations: 88 kB / 0.5586 GB, free: 1.113 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.001006/0.1473, allocations: 0.9951 MB / 0.5596 GB, free: 88 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008086/0.1481, allocations: 406.4 kB / 0.5599 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1481, allocations: 0 / 0.5599 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.1483, allocations: 177.8 kB / 0.5601 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.1488, allocations: 57.81 kB / 0.5602 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00503/0.1538, allocations: 3.573 MB / 0.5637 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005899/0.1544, allocations: 0.8419 MB / 0.5645 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002369/0.1547, allocations: 58.92 kB / 0.5645 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.1549, allocations: 123.4 kB / 0.5647 GB, free: 10.62 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1549, allocations: 0 / 0.5647 GB, free: 10.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.1852, allocations: 7.435 MB / 0.5719 GB, free: 3.324 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.13, allocations: 7.969 kB / 0.5719 GB, free: 3.316 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: 16.126310977037065] Failed to read output from testmodel.py, exit status != 0: 13.289806070970371 13.317375745 13.187102579 Calling exit ...