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.000775/0.000775, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001575/0.001575, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8872/0.8872, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2254/0.2254, allocations: 29.4 MB / 290.1 MB, free: 2.449 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.869e-05, allocations: 4.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.005888/0.005907, allocations: 5.492 MB / 435.7 MB, free: 8.082 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002851/0.008758, allocations: 2.149 MB / 437.8 MB, free: 5.926 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003333/0.009091, allocations: 23.81 kB / 437.9 MB, free: 5.902 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005216/0.009613, allocations: 162.7 kB / 438 MB, free: 5.742 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.01063, allocations: 481 kB / 438.5 MB, free: 5.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.0111, allocations: 249.7 kB / 438.7 MB, free: 5.027 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009182/0.01202, allocations: 0.8912 MB / 439.6 MB, free: 4.133 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003983/0.01242, allocations: 381.2 kB / 440 MB, free: 3.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004807/0.0129, allocations: 498.6 kB / 440.5 MB, free: 3.262 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003592/0.01326, allocations: 295.2 kB / 440.8 MB, free: 2.973 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.371e-05/0.01331, allocations: 56 kB / 440.8 MB, free: 2.918 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.01354, allocations: 155.7 kB / 441 MB, free: 2.766 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.01367, allocations: 195.4 kB / 441.2 MB, free: 2.574 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.01382, allocations: 207.5 kB / 441.4 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008253/0.01465, allocations: 0.7905 MB / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.01465, allocations: 0 / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01465, allocations: 0 / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.01467, allocations: 0 / 442.2 MB, free: 1.578 MB / 410.7 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.001111/0.01578, allocations: 0.8568 MB / 443 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.01582, allocations: 15.98 kB / 443 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.549e-05/0.01588, allocations: 78.7 kB / 443.1 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.592e-05/0.01597, allocations: 64.56 kB / 443.2 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/0.01655, allocations: 467.1 kB / 443.6 MB, free: 40 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.01657, allocations: 40.94 kB / 443.7 MB, free: 0 / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1708/0.1873, allocations: 40.77 kB / 443.7 MB, free: 54.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000552/0.1879, allocations: 0.5413 MB / 444.3 MB, free: 54.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1879, allocations: 0 / 444.3 MB, free: 54.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.1879, allocations: 18.19 kB / 444.3 MB, free: 54.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.984e-05/0.188, allocations: 21.5 kB / 444.3 MB, free: 54.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.1883, allocations: 333.4 kB / 444.6 MB, free: 54.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.1897, allocations: 1.892 MB / 446.5 MB, free: 53.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.1899, allocations: 227.6 kB / 446.7 MB, free: 53.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.951e-05/0.19, allocations: 79.97 kB / 446.8 MB, free: 53.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.19, allocations: 9.297 kB / 446.8 MB, free: 53.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.1901, allocations: 163.4 kB / 447 MB, free: 52.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 1.263e-06/0.1901, allocations: 3.219 kB / 447 MB, free: 52.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009312/0.1911, allocations: 0.8669 MB / 447.9 MB, free: 52.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.1911, allocations: 132.2 kB / 448 MB, free: 52.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.1914, allocations: 451.7 kB / 448.4 MB, free: 52.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1914, allocations: 29.7 kB / 448.5 MB, free: 51.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/0.1915, allocations: 302.7 kB / 448.7 MB, free: 51.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.1915, allocations: 96.5 kB / 448.8 MB, free: 51.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.1916, allocations: 79.14 kB / 448.9 MB, free: 51.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.97e-05/0.1916, allocations: 353.9 kB / 449.3 MB, free: 51.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.824e-05/0.1917, allocations: 84.77 kB / 449.3 MB, free: 51.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1918, allocations: 251.6 kB / 449.6 MB, free: 51.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.192, allocations: 333.3 kB / 449.9 MB, free: 50.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.192, allocations: 0 / 449.9 MB, free: 50.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004326/0.1925, allocations: 448.6 kB / 450.4 MB, free: 50.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1925, allocations: 10.66 kB / 450.4 MB, free: 50.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1925, allocations: 3.188 kB / 450.4 MB, free: 50.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002137/0.1927, allocations: 87.73 kB / 450.5 MB, free: 50.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.1928, allocations: 76.89 kB / 450.5 MB, free: 50.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009861/0.1938, allocations: 1.706 MB / 452.2 MB, free: 49.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.1939, allocations: 24.88 kB / 452.3 MB, free: 49.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.194, allocations: 16.94 kB / 452.3 MB, free: 49.12 MB / 410.7 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.0001192/0.1941, allocations: 215.5 kB / 452.5 MB, free: 48.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.1941, allocations: 42.41 kB / 452.5 MB, free: 48.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.1944, allocations: 282.2 kB / 452.8 MB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1944, allocations: 3.156 kB / 452.8 MB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1944, allocations: 6.641 kB / 452.8 MB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1944, allocations: 5.094 kB / 452.8 MB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005757/0.195, allocations: 0.7134 MB / 453.5 MB, free: 48.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.195, allocations: 0 / 453.5 MB, free: 48.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.1951, allocations: 49.12 kB / 453.6 MB, free: 48.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.696e-05/0.1952, allocations: 49.89 kB / 453.6 MB, free: 48.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1952, allocations: 18.27 kB / 453.6 MB, free: 48.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004986/0.1957, allocations: 1.429 MB / 455.1 MB, free: 46.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1957, allocations: 6.469 kB / 455.1 MB, free: 46.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.1961, allocations: 472.9 kB / 455.5 MB, free: 46.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/0.1961, allocations: 59.52 kB / 455.6 MB, free: 46.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.1962, allocations: 7.156 kB / 455.6 MB, free: 46.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.1963, allocations: 21.19 kB / 455.6 MB, free: 46.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.1963, allocations: 24.8 kB / 455.7 MB, free: 46.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.1963, allocations: 13.75 kB / 455.7 MB, free: 46.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001657/0.1965, allocations: 304 kB / 456 MB, free: 46.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1965, allocations: 3.344 kB / 456 MB, free: 46.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003032/0.1968, allocations: 129 kB / 456.1 MB, free: 46.48 MB / 410.7 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.001035/0.1978, allocations: 1.396 MB / 457.5 MB, free: 45.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000402/0.1982, allocations: 375.6 kB / 457.9 MB, free: 45.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1982, allocations: 3.219 kB / 457.9 MB, free: 45.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.1984, allocations: 237.9 kB / 458.1 MB, free: 45.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.1988, allocations: 143.9 kB / 458.2 MB, free: 45.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.2016, allocations: 4.146 MB / 462.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.2017, allocations: 277.9 kB / 462.7 MB, free: 42.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.2019, allocations: 68.98 kB / 462.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.202, allocations: 178.8 kB / 462.9 MB, free: 42.33 MB / 410.7 MB Notification: Performance of SimCode: time 3.9e-07/0.202, allocations: 0 / 462.9 MB, free: 42.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.232, allocations: 13.15 MB / 476 MB, free: 39.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.318/8.55, allocations: 0 / 476 MB, free: 39.96 MB / 410.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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: 10.543436225503683] Failed to read output from testmodel.py, exit status != 0: 8.662684158422053 8.673407342 8.656399978 Calling exit ...