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.001644/0.001644, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002113/0.002113, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.216/0.216, allocations: 38.56 MB / 352.5 MB, free: 12.27 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.002141/0.002141, allocations: 63.89 kB / 492.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3341, allocations: 62.47 MB / 0.5419 GB, free: 200 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.006943/0.3411, allocations: 4.691 MB / 0.5465 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.3437, allocations: 1.391 MB / 0.5479 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002944/0.344, allocations: 22.28 kB / 0.5479 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000448/0.3445, allocations: 107.9 kB / 0.548 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008427/0.3453, allocations: 270.8 kB / 0.5483 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.3457, allocations: 144.7 kB / 0.5484 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008588/0.3466, allocations: 0.588 MB / 0.549 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004754/0.3471, allocations: 290.5 kB / 0.5493 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000406/0.3475, allocations: 247.6 kB / 0.5495 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.3478, allocations: 225.7 kB / 0.5497 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.497e-05/0.3479, allocations: 39.59 kB / 0.5497 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.525e-05/0.348, allocations: 43.91 kB / 0.5498 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.3481, allocations: 122.5 kB / 0.5499 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.3483, allocations: 184.5 kB / 0.5501 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000584/0.3489, allocations: 0.509 MB / 0.5506 GB, free: 9.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3489, allocations: 0 / 0.5506 GB, free: 9.734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3489, allocations: 0 / 0.5506 GB, free: 9.734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.3489, allocations: 0 / 0.5506 GB, free: 9.734 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.0013/0.3502, allocations: 0.6459 MB / 0.5512 GB, free: 9.207 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3503, allocations: 13.52 kB / 0.5512 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.018e-05/0.3504, allocations: 74.92 kB / 0.5513 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.961e-05/0.3505, allocations: 51.08 kB / 0.5513 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006664/0.3511, allocations: 351.4 kB / 0.5517 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.3512, allocations: 80.62 kB / 0.5517 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/0.3513, allocations: 39.77 kB / 0.5518 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000696/0.352, allocations: 427.5 kB / 0.5522 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.352, allocations: 13.02 kB / 0.5522 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.3521, allocations: 12.38 kB / 0.5522 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.3521, allocations: 9.219 kB / 0.5522 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005316/0.3526, allocations: 273.1 kB / 0.5525 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.3549, allocations: 1.692 MB / 0.5541 GB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.3553, allocations: 173.7 kB / 0.5543 GB, free: 6.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.3555, allocations: 70.73 kB / 0.5544 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.3555, allocations: 2.375 kB / 0.5544 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.3555, allocations: 38 kB / 0.5544 GB, free: 6.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 2.524e-06/0.3555, allocations: 0 / 0.5544 GB, free: 6.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001418/0.3569, allocations: 0.6478 MB / 0.555 GB, free: 6.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.815e-05/0.357, allocations: 110.8 kB / 0.5552 GB, free: 5.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.3574, allocations: 318.2 kB / 0.5555 GB, free: 5.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.3574, allocations: 26.61 kB / 0.5555 GB, free: 5.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.3576, allocations: 251.5 kB / 0.5557 GB, free: 5.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/0.3576, allocations: 73.41 kB / 0.5558 GB, free: 5.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3577, allocations: 69.23 kB / 0.5559 GB, free: 5.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3579, allocations: 337.9 kB / 0.5562 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.3581, allocations: 78.52 kB / 0.5563 GB, free: 4.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.3583, allocations: 200 kB / 0.5564 GB, free: 4.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/0.3588, allocations: 297.6 kB / 0.5567 GB, free: 4.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3588, allocations: 1.062 kB / 0.5567 GB, free: 4.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006039/0.3594, allocations: 341 kB / 0.5571 GB, free: 4.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3594, allocations: 7.984 kB / 0.5571 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3594, allocations: 4 kB / 0.5571 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3594, allocations: 8 kB / 0.5571 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.3598, allocations: 72.47 kB / 0.5571 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.3598, allocations: 11.94 kB / 0.5572 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.36, allocations: 19.98 kB / 0.5572 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.36, allocations: 12 kB / 0.5572 GB, free: 4.105 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.0002028/0.3602, allocations: 177.7 kB / 0.5574 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/0.3603, allocations: 35.75 kB / 0.5574 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/0.3607, allocations: 200.6 kB / 0.5576 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3607, allocations: 0 / 0.5576 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3607, allocations: 7.938 kB / 0.5576 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3607, allocations: 4 kB / 0.5576 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009797/0.3617, allocations: 0.5684 MB / 0.5581 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3617, allocations: 0 / 0.5581 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.3619, allocations: 35.98 kB / 0.5582 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3619, allocations: 4 kB / 0.5582 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.362, allocations: 7.984 kB / 0.5582 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.362, allocations: 4 kB / 0.5582 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.362, allocations: 3.938 kB / 0.5582 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000611/0.3626, allocations: 455 kB / 0.5586 GB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.3626, allocations: 27.77 kB / 0.5587 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.3627, allocations: 8 kB / 0.5587 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.3629, allocations: 0 / 0.5587 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.3629, allocations: 20.02 kB / 0.5587 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.3629, allocations: 4 kB / 0.5587 GB, free: 2.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002281/0.3632, allocations: 230.9 kB / 0.5589 GB, free: 2.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3632, allocations: 0 / 0.5589 GB, free: 2.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004163/0.3636, allocations: 68 kB / 0.559 GB, free: 2.176 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.0008727/0.3644, allocations: 0.9778 MB / 0.5599 GB, free: 1.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004227/0.3649, allocations: 187.7 kB / 0.5601 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3649, allocations: 9.062 kB / 0.5601 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.365, allocations: 72.03 kB / 0.5602 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000667/0.3657, allocations: 105.5 kB / 0.5603 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/0.3703, allocations: 3.423 MB / 0.5636 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.3705, allocations: 210.5 kB / 0.5638 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.3707, allocations: 51.25 kB / 0.5639 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.3709, allocations: 119.4 kB / 0.564 GB, free: 12.78 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3709, allocations: 3.938 kB / 0.564 GB, free: 12.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03728/0.4082, allocations: 7.891 MB / 0.5717 GB, free: 5.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.65, allocations: 10.86 kB / 0.5717 GB, free: 5.074 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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.795354504138231] Failed to read output from testmodel.py, exit status != 0: 11.762106779031456 11.789534006 11.434630166 Calling exit ...