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.002016/0.002016, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002535/0.002535, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.1849/0.1849, allocations: 38.55 MB / 352.5 MB, free: 12.32 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.AC1ph_DC.Drives.DCcharSpeed,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed",fmuType="me",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.00225/0.00225, allocations: 71.89 kB / 492.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.343, allocations: 62.46 MB / 0.5419 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.007799/0.3508, allocations: 4.684 MB / 0.5465 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.3534, allocations: 1.402 MB / 0.5479 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.3536, allocations: 25.88 kB / 0.5479 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003718/0.354, allocations: 108.5 kB / 0.548 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007009/0.3547, allocations: 259.1 kB / 0.5483 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.355, allocations: 143.9 kB / 0.5484 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008484/0.3559, allocations: 0.5883 MB / 0.549 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004863/0.3564, allocations: 285.9 kB / 0.5492 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004444/0.3568, allocations: 252.4 kB / 0.5495 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004482/0.3573, allocations: 226.5 kB / 0.5497 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.3573, allocations: 43.19 kB / 0.5497 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.611e-05/0.3574, allocations: 43.66 kB / 0.5498 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.3576, allocations: 117.4 kB / 0.5499 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.3578, allocations: 185.8 kB / 0.5501 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007181/0.3585, allocations: 0.5042 MB / 0.5506 GB, free: 9.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.3586, allocations: 3.984 kB / 0.5506 GB, free: 9.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3586, allocations: 0 / 0.5506 GB, free: 9.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.3586, allocations: 0 / 0.5506 GB, free: 9.793 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001388/0.36, allocations: 0.6391 MB / 0.5512 GB, free: 9.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.36, allocations: 13.67 kB / 0.5512 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.744e-05/0.3601, allocations: 70.31 kB / 0.5513 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.703e-05/0.3602, allocations: 51.14 kB / 0.5513 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000689/0.3609, allocations: 362 kB / 0.5517 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.361, allocations: 81.91 kB / 0.5517 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.439e-05/0.361, allocations: 35.38 kB / 0.5518 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007268/0.3618, allocations: 439.7 kB / 0.5522 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.3618, allocations: 1.062 kB / 0.5522 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/0.3618, allocations: 16.66 kB / 0.5522 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.3618, allocations: 8.781 kB / 0.5522 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000552/0.3624, allocations: 273.8 kB / 0.5525 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/0.3648, allocations: 1.692 MB / 0.5541 GB, free: 6.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.3651, allocations: 173.2 kB / 0.5543 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.3653, allocations: 70.58 kB / 0.5544 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3653, allocations: 2.25 kB / 0.5544 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.3653, allocations: 37.94 kB / 0.5544 GB, free: 6.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.3653, allocations: 0 / 0.5544 GB, free: 6.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.00141/0.3668, allocations: 0.6436 MB / 0.555 GB, free: 6.117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.3669, allocations: 105 kB / 0.5551 GB, free: 5.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.3673, allocations: 323.7 kB / 0.5554 GB, free: 5.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.3673, allocations: 26.77 kB / 0.5555 GB, free: 5.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.3675, allocations: 251.6 kB / 0.5557 GB, free: 5.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.737e-05/0.3676, allocations: 72.3 kB / 0.5558 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.3677, allocations: 73.44 kB / 0.5559 GB, free: 5.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3679, allocations: 342.7 kB / 0.5562 GB, free: 5.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.368, allocations: 73.95 kB / 0.5562 GB, free: 5.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.3683, allocations: 196.9 kB / 0.5564 GB, free: 4.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/0.3688, allocations: 292.7 kB / 0.5567 GB, free: 4.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3688, allocations: 1.781 kB / 0.5567 GB, free: 4.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006016/0.3694, allocations: 336.9 kB / 0.557 GB, free: 4.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3694, allocations: 10.66 kB / 0.557 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3694, allocations: 4.562 kB / 0.5571 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.3694, allocations: 4 kB / 0.5571 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.3697, allocations: 83.89 kB / 0.5571 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/0.3698, allocations: 15.92 kB / 0.5572 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.3699, allocations: 12 kB / 0.5572 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.37, allocations: 19.98 kB / 0.5572 GB, free: 4.168 MB / 398.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.0002132/0.3702, allocations: 181.7 kB / 0.5574 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.398e-05/0.3703, allocations: 31.75 kB / 0.5574 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004807/0.3707, allocations: 192.6 kB / 0.5576 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3707, allocations: 4 kB / 0.5576 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3707, allocations: 4 kB / 0.5576 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3708, allocations: 3.984 kB / 0.5576 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009996/0.3718, allocations: 0.5684 MB / 0.5581 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.3718, allocations: 4 kB / 0.5581 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.372, allocations: 35.98 kB / 0.5582 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.372, allocations: 0 / 0.5582 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.372, allocations: 8 kB / 0.5582 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.372, allocations: 7.922 kB / 0.5582 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.372, allocations: 4.031 kB / 0.5582 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006357/0.3727, allocations: 453.1 kB / 0.5586 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.3727, allocations: 31.8 kB / 0.5587 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.3728, allocations: 8 kB / 0.5587 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.373, allocations: 7.984 kB / 0.5587 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.373, allocations: 19.91 kB / 0.5587 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.373, allocations: 4 kB / 0.5587 GB, free: 2.527 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002444/0.3733, allocations: 223 kB / 0.5589 GB, free: 2.309 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3733, allocations: 0 / 0.5589 GB, free: 2.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004354/0.3737, allocations: 79.94 kB / 0.559 GB, free: 2.23 MB / 398.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.000973/0.3747, allocations: 0.9816 MB / 0.5599 GB, free: 1.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000429/0.3751, allocations: 194.9 kB / 0.5601 GB, free: 1.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3751, allocations: 384 / 0.5601 GB, free: 1.031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.3753, allocations: 75.91 kB / 0.5602 GB, free: 0.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006704/0.376, allocations: 95.44 kB / 0.5603 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00482/0.3808, allocations: 3.427 MB / 0.5636 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.381, allocations: 210.5 kB / 0.5638 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.3812, allocations: 51.25 kB / 0.5639 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.3814, allocations: 123.4 kB / 0.564 GB, free: 12.84 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3814, allocations: 0 / 0.564 GB, free: 12.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04081/0.4222, allocations: 7.887 MB / 0.5717 GB, free: 5.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.72, allocations: 11.94 kB / 0.5717 GB, free: 5.137 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.734619813039899] Failed to read output from testmodel.py, exit status != 0: 11.827189589850605 11.844094389 11.482209148 Calling exit ...