Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.001313/0.001313, 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.001571/0.001571, 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.558/1.558, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1879/0.1879, allocations: 38.56 MB / 352.5 MB, free: 12.3 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.DCmotor_par,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par",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.002102/0.002102, allocations: 63.89 kB / 492.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3951, allocations: 62.47 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.008655/0.4038, allocations: 5.524 MB / 0.5473 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00422/0.408, allocations: 2.131 MB / 0.5494 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000487/0.4085, allocations: 23.12 kB / 0.5494 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006969/0.4092, allocations: 163.8 kB / 0.5496 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.4106, allocations: 456.2 kB / 0.55 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008594/0.4115, allocations: 250.5 kB / 0.5503 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.4131, allocations: 0.8637 MB / 0.5511 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006397/0.4138, allocations: 387.2 kB / 0.5515 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007731/0.4145, allocations: 365.7 kB / 0.5518 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005904/0.4151, allocations: 333.4 kB / 0.5521 GB, free: 8.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.626e-05/0.4152, allocations: 55.78 kB / 0.5522 GB, free: 8.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.4156, allocations: 149.8 kB / 0.5523 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.4158, allocations: 180.4 kB / 0.5525 GB, free: 8.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.4161, allocations: 252.4 kB / 0.5528 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.4173, allocations: 0.8007 MB / 0.5535 GB, free: 7.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4173, allocations: 0 / 0.5535 GB, free: 7.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4173, allocations: 1.062 kB / 0.5535 GB, free: 7.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.4174, allocations: 0 / 0.5535 GB, free: 7.66 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002347/0.4197, allocations: 0.8568 MB / 0.5544 GB, free: 6.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.893e-05/0.4198, allocations: 13.45 kB / 0.5544 GB, free: 6.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001377/0.4199, allocations: 89.62 kB / 0.5545 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.4201, allocations: 71.89 kB / 0.5545 GB, free: 6.859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.4212, allocations: 470.7 kB / 0.555 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.4213, allocations: 38.84 kB / 0.555 GB, free: 6.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.4214, allocations: 41.06 kB / 0.5551 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.4224, allocations: 0.5427 MB / 0.5556 GB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.4224, allocations: 1.281 kB / 0.5556 GB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.102e-05/0.4225, allocations: 16.5 kB / 0.5556 GB, free: 6.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.871e-05/0.4226, allocations: 16.19 kB / 0.5556 GB, free: 6.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005892/0.4231, allocations: 337.2 kB / 0.5559 GB, free: 5.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.4261, allocations: 1.896 MB / 0.5578 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005416/0.4266, allocations: 219.6 kB / 0.558 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.4268, allocations: 78.67 kB / 0.5581 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.4268, allocations: 11.92 kB / 0.5581 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003098/0.4271, allocations: 164.7 kB / 0.5583 GB, free: 3.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.705e-06/0.4271, allocations: 4 kB / 0.5583 GB, free: 3.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.001906/0.429, allocations: 0.8687 MB / 0.5591 GB, free: 2.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.714e-05/0.4291, allocations: 132.5 kB / 0.5592 GB, free: 2.176 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006251/0.4298, allocations: 453.7 kB / 0.5597 GB, free: 1.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.4298, allocations: 29.7 kB / 0.5597 GB, free: 1.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.43, allocations: 304.2 kB / 0.56 GB, free: 1.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.548e-05/0.4301, allocations: 91.5 kB / 0.5601 GB, free: 1.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.4303, allocations: 78.33 kB / 0.5601 GB, free: 1.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.4305, allocations: 362.7 kB / 0.5605 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.4306, allocations: 84.84 kB / 0.5606 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.4309, allocations: 255.1 kB / 0.5608 GB, free: 464 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.4314, allocations: 316.1 kB / 0.5611 GB, free: 88 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.4314, allocations: 4 kB / 0.5611 GB, free: 84 kB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009309/0.4323, allocations: 442.2 kB / 0.5615 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.4324, allocations: 8 kB / 0.5616 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.4324, allocations: 8 kB / 0.5616 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004362/0.4328, allocations: 88.77 kB / 0.5616 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.4331, allocations: 75.84 kB / 0.5617 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.4354, allocations: 1.717 MB / 0.5634 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.4358, allocations: 15.98 kB / 0.5634 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.4358, allocations: 20 kB / 0.5634 GB, free: 13.59 MB / 414.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: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003447/0.4361, allocations: 217.7 kB / 0.5636 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.144e-05/0.4362, allocations: 51.61 kB / 0.5637 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006229/0.4368, allocations: 284.4 kB / 0.564 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.4369, allocations: 4 kB / 0.564 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4369, allocations: 0 / 0.564 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.4369, allocations: 3.984 kB / 0.564 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.4382, allocations: 0.7167 MB / 0.5647 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.4382, allocations: 7.875 kB / 0.5647 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.4384, allocations: 43.98 kB / 0.5647 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002271/0.4387, allocations: 52.78 kB / 0.5648 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.4387, allocations: 8 kB / 0.5648 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/0.4402, allocations: 1.432 MB / 0.5662 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4402, allocations: 0 / 0.5662 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008203/0.441, allocations: 484.6 kB / 0.5666 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.4412, allocations: 63.69 kB / 0.5667 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.4412, allocations: 4 kB / 0.5667 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.4415, allocations: 15.98 kB / 0.5667 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/0.4416, allocations: 23.91 kB / 0.5667 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.4416, allocations: 11.98 kB / 0.5667 GB, free: 9.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000416/0.442, allocations: 303.1 kB / 0.567 GB, free: 9.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.442, allocations: 0 / 0.567 GB, free: 9.688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006383/0.4426, allocations: 135.9 kB / 0.5672 GB, free: 9.555 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002795/0.4454, allocations: 1.39 MB / 0.5685 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009253/0.4464, allocations: 386.1 kB / 0.5689 GB, free: 7.934 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.4464, allocations: 4 kB / 0.5689 GB, free: 7.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003978/0.4468, allocations: 227.7 kB / 0.5691 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000805/0.4476, allocations: 137 kB / 0.5692 GB, free: 7.562 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006725/0.4543, allocations: 4.299 MB / 0.5734 GB, free: 3.055 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.4546, allocations: 277.7 kB / 0.5737 GB, free: 2.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003101/0.4549, allocations: 76.16 kB / 0.5738 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.4552, allocations: 183.4 kB / 0.5739 GB, free: 2.504 MB / 414.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4552, allocations: 0 / 0.5739 GB, free: 2.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04727/0.5025, allocations: 12.97 MB / 0.5866 GB, free: 5.664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/13.89, allocations: 13.25 kB / 0.5866 GB, free: 5.656 MB / 430.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.004173681605607] Failed to read output from testmodel.py, exit status != 0: 14.076352892909199 14.093488752 13.672686306 Calling exit ...