Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.000809/0.000809, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001299/0.001299, allocations: 170 kB / 23.94 MB, free: 0.6172 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.9009/0.9009, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2181/0.2181, allocations: 29.41 MB / 290.1 MB, free: 2.441 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.42e-05, allocations: 2.281 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.005619/0.005643, allocations: 5.492 MB / 435.7 MB, free: 8.082 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002704/0.008347, allocations: 2.146 MB / 437.8 MB, free: 5.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003073/0.008654, allocations: 23.81 kB / 437.9 MB, free: 5.906 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005357/0.00919, allocations: 166.7 kB / 438 MB, free: 5.742 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008423/0.01003, allocations: 477 kB / 438.5 MB, free: 5.273 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004657/0.0105, allocations: 249.7 kB / 438.7 MB, free: 5.031 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008726/0.01137, allocations: 0.8912 MB / 439.6 MB, free: 4.137 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004746/0.01185, allocations: 381.2 kB / 440 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004928/0.01234, allocations: 0.4947 MB / 440.5 MB, free: 3.258 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005172/0.01286, allocations: 299.1 kB / 440.8 MB, free: 2.965 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.01296, allocations: 59.94 kB / 440.8 MB, free: 2.906 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.01328, allocations: 151.8 kB / 441 MB, free: 2.758 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.01349, allocations: 191.4 kB / 441.2 MB, free: 2.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002669/0.01375, allocations: 207.5 kB / 441.4 MB, free: 2.367 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008484/0.0146, allocations: 0.7905 MB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.01461, allocations: 0 / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.01461, allocations: 0 / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.01462, allocations: 0 / 442.2 MB, free: 1.574 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.001521/0.01614, allocations: 0.8568 MB / 443 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.01619, allocations: 15.98 kB / 443 MB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.0163, allocations: 86.7 kB / 443.1 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.01642, allocations: 60.56 kB / 443.2 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.01753, allocations: 463.1 kB / 443.6 MB, free: 36 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.01756, allocations: 36.94 kB / 443.7 MB, free: 0 / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/0.0178, allocations: 44.17 kB / 443.7 MB, free: 54.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006137/0.01841, allocations: 0.5382 MB / 444.3 MB, free: 54.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.01843, allocations: 3.156 kB / 444.3 MB, free: 54.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.01846, allocations: 19.5 kB / 444.3 MB, free: 54.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.664e-05/0.01852, allocations: 20.66 kB / 444.3 MB, free: 54.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.01884, allocations: 336 kB / 444.6 MB, free: 54.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.0208, allocations: 1.887 MB / 446.5 MB, free: 53.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.02112, allocations: 227.9 kB / 446.7 MB, free: 53.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.425e-05/0.0212, allocations: 83.56 kB / 446.8 MB, free: 53.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.02122, allocations: 10.5 kB / 446.8 MB, free: 53.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.02143, allocations: 161.5 kB / 447 MB, free: 52.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 1.503e-06/0.02143, allocations: 0 / 447 MB, free: 52.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001102/0.02253, allocations: 0.8696 MB / 447.9 MB, free: 52.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.02257, allocations: 132.2 kB / 448 MB, free: 52.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.02289, allocations: 448.6 kB / 448.4 MB, free: 52.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.0229, allocations: 32.92 kB / 448.5 MB, free: 52.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.02301, allocations: 306.1 kB / 448.8 MB, free: 51.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.02305, allocations: 93 kB / 448.9 MB, free: 51.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.191e-05/0.02312, allocations: 74.88 kB / 448.9 MB, free: 51.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.502e-05/0.02319, allocations: 357 kB / 449.3 MB, free: 51.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-05/0.02328, allocations: 84.95 kB / 449.4 MB, free: 51.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.02341, allocations: 255.8 kB / 449.6 MB, free: 51.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.02365, allocations: 327 kB / 449.9 MB, free: 50.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.02365, allocations: 3.188 kB / 449.9 MB, free: 50.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004688/0.02412, allocations: 444.6 kB / 450.4 MB, free: 50.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.02414, allocations: 8.469 kB / 450.4 MB, free: 50.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.02415, allocations: 7.938 kB / 450.4 MB, free: 50.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002387/0.02439, allocations: 90.16 kB / 450.5 MB, free: 50.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.02452, allocations: 79.89 kB / 450.5 MB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.02575, allocations: 1.697 MB / 452.2 MB, free: 49.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.0259, allocations: 28.19 kB / 452.3 MB, free: 49.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.02592, allocations: 16.53 kB / 452.3 MB, free: 49.16 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.0001644/0.02609, allocations: 209 kB / 452.5 MB, free: 49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.02614, allocations: 52.83 kB / 452.5 MB, free: 48.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.02649, allocations: 282.2 kB / 452.8 MB, free: 48.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.02649, allocations: 3.188 kB / 452.8 MB, free: 48.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.02649, allocations: 0 / 452.8 MB, free: 48.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.0265, allocations: 6.766 kB / 452.8 MB, free: 48.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006675/0.02717, allocations: 0.7162 MB / 453.5 MB, free: 48.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.02717, allocations: 0 / 453.5 MB, free: 48.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.02731, allocations: 45.73 kB / 453.6 MB, free: 48.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/0.02743, allocations: 60.8 kB / 453.6 MB, free: 48.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.02745, allocations: 10.7 kB / 453.7 MB, free: 48.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006343/0.02808, allocations: 1.429 MB / 455.1 MB, free: 47.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02808, allocations: 3.938 kB / 455.1 MB, free: 47.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.02848, allocations: 474.9 kB / 455.6 MB, free: 46.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.02855, allocations: 58.41 kB / 455.6 MB, free: 46.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.02857, allocations: 14.48 kB / 455.6 MB, free: 46.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.02869, allocations: 10.34 kB / 455.6 MB, free: 46.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.02874, allocations: 23.84 kB / 455.7 MB, free: 46.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.02875, allocations: 17.95 kB / 455.7 MB, free: 46.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002004/0.02895, allocations: 303.3 kB / 456 MB, free: 46.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02895, allocations: 0 / 456 MB, free: 46.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003954/0.02935, allocations: 134.7 kB / 456.1 MB, free: 46.52 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.001384/0.03073, allocations: 1.401 MB / 457.5 MB, free: 45.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004745/0.03121, allocations: 367.2 kB / 457.9 MB, free: 45.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.03121, allocations: 0 / 457.9 MB, free: 45.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.03139, allocations: 243.6 kB / 458.1 MB, free: 45.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.03181, allocations: 136.8 kB / 458.2 MB, free: 45.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.03497, allocations: 4.144 MB / 462.4 MB, free: 42.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.03512, allocations: 281.8 kB / 462.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.03526, allocations: 68.44 kB / 462.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.03539, allocations: 175.5 kB / 462.9 MB, free: 42.37 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.03539, allocations: 0 / 462.9 MB, free: 42.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.06208, allocations: 13.15 MB / 476 MB, free: 40 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.472/8.534, allocations: 17.22 kB / 476.1 MB, free: 40 MB / 410.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_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_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.790950269438326] Failed to read output from testmodel.py, exit status != 0: 8.832410565577447 8.843884594 8.827144061 Calling exit ...