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.001758/0.001758, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001509/0.001509, allocations: 205.6 kB / 23.73 MB, free: 4.379 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.463/1.463, allocations: 230.6 MB / 257.5 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.1857/0.1857, allocations: 38.56 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.002045/0.002045, allocations: 67.89 kB / 492.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2954, allocations: 62.47 MB / 0.5419 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.007039/0.3024, allocations: 4.702 MB / 0.5465 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002762/0.3052, allocations: 1.391 MB / 0.5479 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003946/0.3056, allocations: 22.91 kB / 0.5479 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005037/0.3061, allocations: 102.8 kB / 0.548 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008478/0.3069, allocations: 272 kB / 0.5483 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.3073, allocations: 139.3 kB / 0.5484 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007736/0.3081, allocations: 0.5889 MB / 0.549 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004339/0.3085, allocations: 290.2 kB / 0.5493 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004115/0.3089, allocations: 259.6 kB / 0.5495 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003823/0.3093, allocations: 242.5 kB / 0.5497 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.987e-05/0.3093, allocations: 39.47 kB / 0.5498 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.343e-05/0.3094, allocations: 39.12 kB / 0.5498 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.3096, allocations: 126.2 kB / 0.5499 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.3098, allocations: 185.9 kB / 0.5501 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006121/0.3104, allocations: 0.4991 MB / 0.5506 GB, free: 9.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3104, allocations: 0.9688 kB / 0.5506 GB, free: 9.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3104, allocations: 3.938 kB / 0.5506 GB, free: 9.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.3104, allocations: 0 / 0.5506 GB, free: 9.75 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.001266/0.3117, allocations: 0.6539 MB / 0.5512 GB, free: 9.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.3117, allocations: 14.02 kB / 0.5512 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.756e-05/0.3118, allocations: 70.78 kB / 0.5513 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.872e-05/0.3119, allocations: 51.52 kB / 0.5514 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007143/0.3126, allocations: 354.3 kB / 0.5517 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.3127, allocations: 81.12 kB / 0.5518 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.742e-05/0.3128, allocations: 35.94 kB / 0.5518 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000703/0.3135, allocations: 435.9 kB / 0.5522 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.3135, allocations: 2.094 kB / 0.5522 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.3136, allocations: 15.31 kB / 0.5522 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3136, allocations: 8.812 kB / 0.5523 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005526/0.3141, allocations: 273 kB / 0.5525 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/0.3164, allocations: 1.696 MB / 0.5542 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.3167, allocations: 170.2 kB / 0.5543 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.3169, allocations: 70.08 kB / 0.5544 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.3169, allocations: 2.188 kB / 0.5544 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.3169, allocations: 34.09 kB / 0.5544 GB, free: 6.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.3169, allocations: 0 / 0.5544 GB, free: 6.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001365/0.3183, allocations: 0.6499 MB / 0.5551 GB, free: 6.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.3184, allocations: 106.8 kB / 0.5552 GB, free: 5.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.3188, allocations: 330.1 kB / 0.5555 GB, free: 5.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.3188, allocations: 30.89 kB / 0.5555 GB, free: 5.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.319, allocations: 251.5 kB / 0.5558 GB, free: 5.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.846e-05/0.3191, allocations: 68.78 kB / 0.5558 GB, free: 5.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.3192, allocations: 65.77 kB / 0.5559 GB, free: 5.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3194, allocations: 341.9 kB / 0.5562 GB, free: 5.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.3196, allocations: 78.55 kB / 0.5563 GB, free: 4.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.3199, allocations: 196.2 kB / 0.5565 GB, free: 4.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.3204, allocations: 293.2 kB / 0.5567 GB, free: 4.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3204, allocations: 1.062 kB / 0.5568 GB, free: 4.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005981/0.321, allocations: 336.4 kB / 0.5571 GB, free: 4.285 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.321, allocations: 8 kB / 0.5571 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.321, allocations: 4.562 kB / 0.5571 GB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.321, allocations: 4 kB / 0.5571 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.3213, allocations: 83.89 kB / 0.5572 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.3213, allocations: 11.94 kB / 0.5572 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.3216, allocations: 11.94 kB / 0.5572 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.3216, allocations: 20 kB / 0.5572 GB, free: 4.145 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.0002091/0.3218, allocations: 181.7 kB / 0.5574 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.27e-05/0.3219, allocations: 35.75 kB / 0.5574 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004203/0.3223, allocations: 196.6 kB / 0.5576 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3223, allocations: 4 kB / 0.5576 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3223, allocations: 4 kB / 0.5576 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3223, allocations: 0 / 0.5576 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009697/0.3233, allocations: 0.5713 MB / 0.5582 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3233, allocations: 0 / 0.5582 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.3235, allocations: 39.97 kB / 0.5582 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3235, allocations: 4 kB / 0.5582 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.3235, allocations: 4 kB / 0.5582 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.3235, allocations: 7.938 kB / 0.5582 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3235, allocations: 4.031 kB / 0.5582 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005858/0.3241, allocations: 451 kB / 0.5587 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3242, allocations: 35.8 kB / 0.5587 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.3243, allocations: 4 kB / 0.5587 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.3245, allocations: 8 kB / 0.5587 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.3245, allocations: 23.84 kB / 0.5587 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.3245, allocations: 4 kB / 0.5587 GB, free: 2.496 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002301/0.3248, allocations: 223 kB / 0.5589 GB, free: 2.277 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3248, allocations: 0 / 0.5589 GB, free: 2.277 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004366/0.3252, allocations: 72 kB / 0.559 GB, free: 2.207 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.001007/0.3262, allocations: 0.9741 MB / 0.56 GB, free: 1.199 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004702/0.3267, allocations: 196.7 kB / 0.5601 GB, free: 1.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3267, allocations: 4.062 kB / 0.5602 GB, free: 1.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.3269, allocations: 79.89 kB / 0.5602 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006738/0.3275, allocations: 85.27 kB / 0.5603 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.3321, allocations: 3.43 MB / 0.5637 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.3323, allocations: 210.5 kB / 0.5639 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.3325, allocations: 55.19 kB / 0.5639 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.3327, allocations: 123.4 kB / 0.564 GB, free: 12.82 MB / 414.1 MB Notification: Performance of SimCode: time 1.603e-06/0.3327, allocations: 0 / 0.564 GB, free: 12.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04877/0.3815, allocations: 7.986 MB / 0.5718 GB, free: 5.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.82, allocations: 15.97 kB / 0.5718 GB, free: 5.008 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.672739646979608] Failed to read output from testmodel.py, exit status != 0: 11.933835998992436 11.959342236 11.643557224 Calling exit ...