Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.001338/0.001338, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001468/0.001468, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.1 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.1988/0.1988, allocations: 38.5 MB / 349.4 MB, free: 2.59 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.AC1ph_DC.Drives.DCcharSpeed,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed",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.001982/0.001982, allocations: 67.89 kB / 487.8 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.118, allocations: 62.41 MB / 0.5373 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.007768/0.1258, allocations: 4.854 MB / 0.5421 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00311/0.1289, allocations: 1.515 MB / 0.5436 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004681/0.1293, allocations: 19.81 kB / 0.5436 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005587/0.1299, allocations: 119.1 kB / 0.5437 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.1312, allocations: 274.4 kB / 0.544 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.1318, allocations: 139.7 kB / 0.5441 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.1333, allocations: 0.5837 MB / 0.5447 GB, free: 40 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008691/0.1341, allocations: 334.5 kB / 0.545 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000788/0.1349, allocations: 255.1 kB / 0.5452 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006986/0.1356, allocations: 243 kB / 0.5455 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.1357, allocations: 40 kB / 0.5455 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.1359, allocations: 40 kB / 0.5455 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.1361, allocations: 115.7 kB / 0.5456 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004405/0.1366, allocations: 234.9 kB / 0.5459 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007869/0.1374, allocations: 0.502 MB / 0.5464 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1374, allocations: 0 / 0.5464 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1374, allocations: 3.938 kB / 0.5464 GB, free: 14.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.678e-05/0.1374, allocations: 4 kB / 0.5464 GB, free: 14.29 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001714/0.1391, allocations: 0.7066 MB / 0.5471 GB, free: 13.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.1392, allocations: 16.03 kB / 0.5471 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.029e-05/0.1392, allocations: 9.188 kB / 0.5471 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.1393, allocations: 74.66 kB / 0.5472 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.1394, allocations: 48.66 kB / 0.5472 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009883/0.1404, allocations: 427.9 kB / 0.5476 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.1406, allocations: 58.69 kB / 0.5477 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.1407, allocations: 36 kB / 0.5477 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.1417, allocations: 428.1 kB / 0.5481 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.1417, allocations: 7.984 kB / 0.5481 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.1417, allocations: 15.94 kB / 0.5481 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.1418, allocations: 8 kB / 0.5481 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000758/0.1425, allocations: 278 kB / 0.5484 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002892/0.1454, allocations: 1.834 MB / 0.5502 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.1458, allocations: 175.7 kB / 0.5504 GB, free: 9.906 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.146, allocations: 66.61 kB / 0.5504 GB, free: 9.832 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.146, allocations: 3.938 kB / 0.5504 GB, free: 9.828 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.146, allocations: 42.56 kB / 0.5505 GB, free: 9.777 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 2.865e-06/0.146, allocations: 0 / 0.5505 GB, free: 9.777 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001623/0.1476, allocations: 0.7185 MB / 0.5512 GB, free: 9.008 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.1478, allocations: 111.1 kB / 0.5513 GB, free: 8.875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/0.1482, allocations: 312.5 kB / 0.5516 GB, free: 8.559 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.1483, allocations: 37.69 kB / 0.5516 GB, free: 8.516 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.1486, allocations: 240.1 kB / 0.5518 GB, free: 8.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.932e-05/0.1487, allocations: 79.41 kB / 0.5519 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.1488, allocations: 61.98 kB / 0.552 GB, free: 8.129 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.149, allocations: 342.8 kB / 0.5523 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.1492, allocations: 72.62 kB / 0.5524 GB, free: 7.715 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.1495, allocations: 201.5 kB / 0.5526 GB, free: 7.461 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.15, allocations: 298.8 kB / 0.5528 GB, free: 7.113 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.15, allocations: 3.938 kB / 0.5528 GB, free: 7.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006089/0.1506, allocations: 329 kB / 0.5532 GB, free: 6.781 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1506, allocations: 4 kB / 0.5532 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.1506, allocations: 12 kB / 0.5532 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.1507, allocations: 4 kB / 0.5532 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.151, allocations: 79.84 kB / 0.5533 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.151, allocations: 12.39 kB / 0.5533 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.1512, allocations: 16 kB / 0.5533 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.1512, allocations: 16 kB / 0.5533 GB, free: 6.641 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 40 * 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.0002601/0.1515, allocations: 186.3 kB / 0.5535 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.87e-05/0.1516, allocations: 35.75 kB / 0.5535 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004604/0.152, allocations: 188.7 kB / 0.5537 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.152, allocations: 4 kB / 0.5537 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.152, allocations: 0 / 0.5537 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1521, allocations: 8 kB / 0.5537 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.1531, allocations: 0.6229 MB / 0.5543 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1531, allocations: 0 / 0.5543 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.1533, allocations: 43.91 kB / 0.5544 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.1533, allocations: 0 / 0.5544 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.1533, allocations: 8 kB / 0.5544 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1533, allocations: 0 / 0.5544 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1534, allocations: 8.031 kB / 0.5544 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006796/0.154, allocations: 451 kB / 0.5548 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/0.1541, allocations: 104.9 kB / 0.5549 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.1542, allocations: 8.125 kB / 0.5549 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.1543, allocations: 8 kB / 0.5549 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/0.1544, allocations: 19.97 kB / 0.5549 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.1544, allocations: 7.938 kB / 0.5549 GB, free: 4.844 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002371/0.1547, allocations: 219.1 kB / 0.5552 GB, free: 4.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1547, allocations: 0 / 0.5552 GB, free: 4.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004259/0.1551, allocations: 68 kB / 0.5552 GB, free: 4.566 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * 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 (20): * Single equations (assignments): 19 * 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.0009908/0.1561, allocations: 0.9825 MB / 0.5562 GB, free: 3.551 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004681/0.1565, allocations: 187.1 kB / 0.5564 GB, free: 3.371 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1566, allocations: 0 / 0.5564 GB, free: 3.371 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.1567, allocations: 79.84 kB / 0.5564 GB, free: 3.293 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007094/0.1574, allocations: 108.2 kB / 0.5565 GB, free: 3.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005056/0.1625, allocations: 3.428 MB / 0.5599 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.163, allocations: 0.8146 MB / 0.5607 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.1632, allocations: 47.25 kB / 0.5607 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.1634, allocations: 127.4 kB / 0.5608 GB, free: 14.55 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1634, allocations: 0 / 0.5608 GB, free: 14.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.1925, allocations: 7.121 MB / 0.5678 GB, free: 7.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.828/9.02, allocations: 3.938 kB / 0.5678 GB, free: 7.566 MB / 430.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-05 PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.024623695993796] Failed to read output from testmodel.py, exit status != 0: 9.153843031032011 9.177400418 9.036861231 Calling exit ...