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.001292/0.001292, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002075/0.002075, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.1837/0.1837, allocations: 38.53 MB / 352.5 MB, free: 12.54 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.002199/0.002199, allocations: 67.89 kB / 492.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.317, allocations: 62.47 MB / 0.542 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.006768/0.3238, allocations: 4.977 MB / 0.5469 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.3262, allocations: 1.522 MB / 0.5483 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.3264, allocations: 22.12 kB / 0.5484 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004153/0.3268, allocations: 115.8 kB / 0.5485 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007168/0.3276, allocations: 275.5 kB / 0.5487 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.3279, allocations: 139.3 kB / 0.5489 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008212/0.3287, allocations: 0.5768 MB / 0.5494 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004633/0.3292, allocations: 302.8 kB / 0.5497 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004208/0.3296, allocations: 247.2 kB / 0.55 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000416/0.33, allocations: 243.5 kB / 0.5502 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.25e-05/0.3301, allocations: 39.16 kB / 0.5502 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.828e-05/0.3302, allocations: 42.66 kB / 0.5503 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.3303, allocations: 126.8 kB / 0.5504 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.3306, allocations: 224.4 kB / 0.5506 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006501/0.3313, allocations: 0.5036 MB / 0.5511 GB, free: 9.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3313, allocations: 0 / 0.5511 GB, free: 9.445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3313, allocations: 1.562 kB / 0.5511 GB, free: 9.445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.3313, allocations: 0 / 0.5511 GB, free: 9.445 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.001361/0.3326, allocations: 0.6451 MB / 0.5517 GB, free: 8.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3327, allocations: 14.33 kB / 0.5517 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.083e-05/0.3328, allocations: 78.41 kB / 0.5518 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.739e-05/0.3329, allocations: 46.44 kB / 0.5519 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006524/0.3335, allocations: 350.5 kB / 0.5522 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.3336, allocations: 84.95 kB / 0.5523 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/0.3337, allocations: 36.59 kB / 0.5523 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007144/0.3344, allocations: 435.8 kB / 0.5527 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.3344, allocations: 2.188 kB / 0.5527 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.3345, allocations: 15.5 kB / 0.5527 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.3345, allocations: 13.16 kB / 0.5528 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005245/0.335, allocations: 274 kB / 0.553 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/0.3373, allocations: 1.772 MB / 0.5548 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.3376, allocations: 169.3 kB / 0.5549 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.3378, allocations: 70.33 kB / 0.555 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.3378, allocations: 10.22 kB / 0.555 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.3378, allocations: 36.83 kB / 0.555 GB, free: 6.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.3378, allocations: 0 / 0.555 GB, free: 6.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001303/0.3391, allocations: 0.6483 MB / 0.5557 GB, free: 5.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.3392, allocations: 110.3 kB / 0.5558 GB, free: 5.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.3396, allocations: 309.3 kB / 0.5561 GB, free: 5.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.3396, allocations: 30.98 kB / 0.5561 GB, free: 5.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.3398, allocations: 250.7 kB / 0.5563 GB, free: 5.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.404e-05/0.3398, allocations: 72.48 kB / 0.5564 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3399, allocations: 66.23 kB / 0.5565 GB, free: 4.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3401, allocations: 342.4 kB / 0.5568 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.3403, allocations: 74.62 kB / 0.5569 GB, free: 4.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.3405, allocations: 203.9 kB / 0.5571 GB, free: 4.395 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/0.341, allocations: 293.7 kB / 0.5573 GB, free: 4.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.341, allocations: 1.094 kB / 0.5573 GB, free: 4.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005788/0.3415, allocations: 332.4 kB / 0.5576 GB, free: 3.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.3416, allocations: 7.188 kB / 0.5577 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.3416, allocations: 4.875 kB / 0.5577 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.3416, allocations: 5.5 kB / 0.5577 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.3419, allocations: 78.5 kB / 0.5577 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.3419, allocations: 11.98 kB / 0.5578 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.3421, allocations: 16 kB / 0.5578 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.3422, allocations: 12 kB / 0.5578 GB, free: 3.863 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.0002347/0.3424, allocations: 185.6 kB / 0.558 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-05/0.3425, allocations: 35.75 kB / 0.558 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000429/0.3429, allocations: 188.6 kB / 0.5582 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.3429, allocations: 4 kB / 0.5582 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3429, allocations: 4 kB / 0.5582 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3429, allocations: 0 / 0.5582 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.3439, allocations: 0.595 MB / 0.5588 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3439, allocations: 8 kB / 0.5588 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.3442, allocations: 51.84 kB / 0.5588 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3442, allocations: 0 / 0.5588 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.3442, allocations: 4 kB / 0.5588 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3442, allocations: 4.031 kB / 0.5588 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3442, allocations: 4 kB / 0.5588 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006367/0.3448, allocations: 456 kB / 0.5593 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.3449, allocations: 23.81 kB / 0.5593 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.345, allocations: 12 kB / 0.5593 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.3451, allocations: 8.031 kB / 0.5593 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.3452, allocations: 11.98 kB / 0.5593 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.3452, allocations: 8 kB / 0.5593 GB, free: 2.188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002365/0.3455, allocations: 223 kB / 0.5595 GB, free: 1.969 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3455, allocations: 0 / 0.5595 GB, free: 1.969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004302/0.3459, allocations: 68 kB / 0.5596 GB, free: 1.902 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.0009354/0.3468, allocations: 0.9787 MB / 0.5606 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004115/0.3472, allocations: 193.9 kB / 0.5607 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3472, allocations: 0 / 0.5607 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.3474, allocations: 79.84 kB / 0.5608 GB, free: 0.625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/0.3481, allocations: 110.3 kB / 0.5609 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004686/0.3528, allocations: 3.427 MB / 0.5643 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.3532, allocations: 0.8146 MB / 0.5651 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000193/0.3534, allocations: 51.25 kB / 0.5651 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.3536, allocations: 119.4 kB / 0.5652 GB, free: 11.89 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3536, allocations: 0 / 0.5652 GB, free: 11.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04033/0.3939, allocations: 7.375 MB / 0.5724 GB, free: 4.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.07, allocations: 14.84 kB / 0.5724 GB, free: 4.66 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.817991131916642] Failed to read output from testmodel.py, exit status != 0: 12.176246176008135 12.192260607 11.85765145 Calling exit ...