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.001794/0.001794, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001517/0.001517, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.1842/0.1842, allocations: 38.56 MB / 353.3 MB, free: 12.38 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="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.002068/0.002068, allocations: 60.19 kB / 493.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3408, allocations: 62.46 MB / 0.5427 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.007162/0.348, allocations: 4.687 MB / 0.5473 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.3505, allocations: 1.394 MB / 0.5486 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003035/0.3508, allocations: 22.34 kB / 0.5487 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.3512, allocations: 103.2 kB / 0.5488 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007033/0.3519, allocations: 268.3 kB / 0.549 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.3522, allocations: 143.2 kB / 0.5491 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007762/0.353, allocations: 0.5842 MB / 0.5497 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004196/0.3534, allocations: 302.5 kB / 0.55 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000374/0.3538, allocations: 251.9 kB / 0.5502 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/0.3542, allocations: 241.9 kB / 0.5505 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.26e-05/0.3543, allocations: 43.66 kB / 0.5505 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.011e-05/0.3544, allocations: 40.94 kB / 0.5506 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.3545, allocations: 121.1 kB / 0.5507 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.3547, allocations: 181.3 kB / 0.5508 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005965/0.3553, allocations: 0.5074 MB / 0.5513 GB, free: 9.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3553, allocations: 1.562 kB / 0.5513 GB, free: 9.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.3553, allocations: 3.984 kB / 0.5513 GB, free: 9.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.3554, allocations: 0 / 0.5513 GB, free: 9.754 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.001436/0.3568, allocations: 0.6421 MB / 0.552 GB, free: 9.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.3568, allocations: 14.14 kB / 0.552 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.47e-05/0.3569, allocations: 8.938 kB / 0.552 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.278e-05/0.357, allocations: 79.09 kB / 0.5521 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.3571, allocations: 46.56 kB / 0.5521 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006966/0.3578, allocations: 354.8 kB / 0.5525 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.3579, allocations: 81.84 kB / 0.5525 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.472e-05/0.358, allocations: 34.78 kB / 0.5526 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008035/0.3588, allocations: 435.5 kB / 0.553 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.3588, allocations: 1.312 kB / 0.553 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/0.3588, allocations: 20.41 kB / 0.553 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.3589, allocations: 8.531 kB / 0.553 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005585/0.3594, allocations: 283 kB / 0.5533 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.3618, allocations: 1.688 MB / 0.5549 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/0.3622, allocations: 178.5 kB / 0.5551 GB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.3624, allocations: 65.2 kB / 0.5552 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.3624, allocations: 6.656 kB / 0.5552 GB, free: 6.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.3624, allocations: 37.97 kB / 0.5552 GB, free: 6.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 2.255e-06/0.3624, allocations: 0 / 0.5552 GB, free: 6.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001529/0.364, allocations: 0.6514 MB / 0.5558 GB, free: 6.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.493e-05/0.3641, allocations: 106.2 kB / 0.5559 GB, free: 5.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/0.3645, allocations: 312.7 kB / 0.5562 GB, free: 5.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.3646, allocations: 31.8 kB / 0.5563 GB, free: 5.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.3648, allocations: 251.3 kB / 0.5565 GB, free: 5.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.368e-05/0.3649, allocations: 72.56 kB / 0.5566 GB, free: 5.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.365, allocations: 65.5 kB / 0.5566 GB, free: 5.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.3652, allocations: 342.6 kB / 0.557 GB, free: 5.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.3654, allocations: 78.58 kB / 0.557 GB, free: 4.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.3657, allocations: 199.8 kB / 0.5572 GB, free: 4.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/0.3662, allocations: 290.5 kB / 0.5575 GB, free: 4.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.3662, allocations: 6.375 kB / 0.5575 GB, free: 4.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005747/0.3668, allocations: 326.8 kB / 0.5578 GB, free: 4.285 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3668, allocations: 8 kB / 0.5578 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.3668, allocations: 4 kB / 0.5578 GB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.3669, allocations: 8.562 kB / 0.5578 GB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.3672, allocations: 87.83 kB / 0.5579 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.3672, allocations: 4 kB / 0.5579 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3674, allocations: 16 kB / 0.5579 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.3674, allocations: 19.98 kB / 0.558 GB, free: 4.141 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.000192/0.3676, allocations: 185.6 kB / 0.5581 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.114e-05/0.3677, allocations: 35.75 kB / 0.5582 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.3681, allocations: 188.6 kB / 0.5584 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3681, allocations: 4 kB / 0.5584 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3681, allocations: 4 kB / 0.5584 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.3681, allocations: 7.984 kB / 0.5584 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.3692, allocations: 0.5645 MB / 0.5589 GB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3692, allocations: 0 / 0.5589 GB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.3694, allocations: 43.92 kB / 0.559 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3695, allocations: 0 / 0.559 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.3695, allocations: 4 kB / 0.559 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3695, allocations: 4 kB / 0.559 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3695, allocations: 11.95 kB / 0.559 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006488/0.3701, allocations: 454.8 kB / 0.5594 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.3702, allocations: 27.8 kB / 0.5594 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.3703, allocations: 4 kB / 0.5594 GB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.3705, allocations: 8 kB / 0.5595 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.3705, allocations: 15.97 kB / 0.5595 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.3705, allocations: 7.938 kB / 0.5595 GB, free: 2.496 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002556/0.3708, allocations: 215.1 kB / 0.5597 GB, free: 2.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3708, allocations: 0 / 0.5597 GB, free: 2.285 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004337/0.3712, allocations: 76 kB / 0.5598 GB, free: 2.211 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.0009684/0.3722, allocations: 0.9887 MB / 0.5607 GB, free: 1.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004346/0.3726, allocations: 180.5 kB / 0.5609 GB, free: 1.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.3726, allocations: 384 / 0.5609 GB, free: 1.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.3728, allocations: 79.84 kB / 0.561 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006925/0.3735, allocations: 105.4 kB / 0.5611 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004873/0.3784, allocations: 3.438 MB / 0.5644 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.3786, allocations: 206.5 kB / 0.5646 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000231/0.3789, allocations: 47.27 kB / 0.5647 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.3791, allocations: 123.4 kB / 0.5648 GB, free: 12.81 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3791, allocations: 0 / 0.5648 GB, free: 12.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.411, allocations: 7.621 MB / 0.5722 GB, free: 5.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.17, allocations: 15.78 kB / 0.5722 GB, free: 5.391 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: 15.134060499025509] Failed to read output from testmodel.py, exit status != 0: 12.338194906013086 12.361813049 12.002089725 Calling exit ...