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.0009879/0.0009879, allocations: 91.66 kB / 20.95 MB, free: 3.602 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.0009403/0.0009403, allocations: 166 kB / 24.26 MB, free: 296 kB / 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 1.042/1.042, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.2655/0.2655, allocations: 29.42 MB / 290.5 MB, free: 2.426 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 2.064e-06/2.064e-06, allocations: 0 / 368.4 MB, free: 11.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.262e-05/3.469e-05, allocations: 4.984 kB / 368.4 MB, free: 11.83 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.007192/0.007226, allocations: 5.508 MB / 373.9 MB, free: 6.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002812/0.01004, allocations: 2.138 MB / 376 MB, free: 4.141 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003106/0.01035, allocations: 23.81 kB / 376 MB, free: 4.117 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.01092, allocations: 162.7 kB / 376.2 MB, free: 3.957 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008541/0.01178, allocations: 477 kB / 376.7 MB, free: 3.488 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.01223, allocations: 255.3 kB / 376.9 MB, free: 3.238 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009317/0.01316, allocations: 0.8871 MB / 377.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004425/0.01361, allocations: 401.3 kB / 378.2 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004936/0.0141, allocations: 498.6 kB / 378.7 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.01445, allocations: 299.1 kB / 379 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.191e-05/0.01451, allocations: 56 kB / 379 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.01473, allocations: 143.8 kB / 379.2 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.01488, allocations: 195.4 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.01505, allocations: 203.5 kB / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007661/0.01581, allocations: 0.7983 MB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.01582, allocations: 4 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01582, allocations: 0 / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.01583, allocations: 0 / 380.4 MB, free: 15.78 MB / 362.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.00153/0.01736, allocations: 0.853 MB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.01741, allocations: 15.97 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.016e-05/0.01749, allocations: 82.72 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.01763, allocations: 100.5 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006779/0.01831, allocations: 487.1 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.01834, allocations: 32.94 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.657e-05/0.01843, allocations: 51.95 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005969/0.01903, allocations: 0.5424 MB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.01905, allocations: 8 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.01908, allocations: 16 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.217e-05/0.01913, allocations: 17 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/0.01952, allocations: 339.6 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.02135, allocations: 1.904 MB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.02169, allocations: 226.7 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.398e-05/0.02179, allocations: 74.67 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.02182, allocations: 4 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.02203, allocations: 172.5 kB / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.364e-06/0.02203, allocations: 3.984 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001302/0.02333, allocations: 0.8736 MB / 386.1 MB, free: 9.707 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/0.02342, allocations: 140.4 kB / 386.3 MB, free: 9.539 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.02379, allocations: 441.8 kB / 386.7 MB, free: 9.094 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.02381, allocations: 33.7 kB / 386.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.02398, allocations: 304.5 kB / 387 MB, free: 8.754 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.016e-05/0.02404, allocations: 99.16 kB / 387.1 MB, free: 8.656 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/0.02412, allocations: 66.2 kB / 387.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.02424, allocations: 362.7 kB / 387.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.02435, allocations: 84.95 kB / 387.6 MB, free: 8.137 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.02478, allocations: 251.8 kB / 387.9 MB, free: 7.824 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.02508, allocations: 329 kB / 388.2 MB, free: 7.445 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.02508, allocations: 0 / 388.2 MB, free: 7.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005641/0.02565, allocations: 461.6 kB / 388.6 MB, free: 6.984 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.02567, allocations: 8 kB / 388.6 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.02568, allocations: 4 kB / 388.7 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002747/0.02595, allocations: 93.27 kB / 388.7 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.0261, allocations: 75.84 kB / 388.8 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.02767, allocations: 1.714 MB / 390.5 MB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.02781, allocations: 20 kB / 390.6 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.02783, allocations: 15.98 kB / 390.6 MB, free: 4.945 MB / 362.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.0001909/0.02802, allocations: 209.6 kB / 390.8 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.02807, allocations: 51.72 kB / 390.8 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/0.02846, allocations: 301.4 kB / 391.1 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.02847, allocations: 7.938 kB / 391.1 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.02847, allocations: 4 kB / 391.1 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.02848, allocations: 4 kB / 391.1 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007808/0.02926, allocations: 0.7168 MB / 391.8 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.02926, allocations: 0 / 391.8 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.02941, allocations: 47.91 kB / 391.9 MB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.02954, allocations: 52.81 kB / 391.9 MB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.02956, allocations: 15.92 kB / 392 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009022/0.03046, allocations: 1.428 MB / 393.4 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.03047, allocations: 0 / 393.4 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/0.03095, allocations: 481.5 kB / 393.9 MB, free: 1.441 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-05/0.03103, allocations: 63.7 kB / 393.9 MB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.03106, allocations: 8.062 kB / 393.9 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.03117, allocations: 19.92 kB / 394 MB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.03124, allocations: 27.81 kB / 394 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.03125, allocations: 4 kB / 394 MB, free: 1.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002445/0.0315, allocations: 307.1 kB / 394.3 MB, free: 1.023 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0315, allocations: 0 / 394.3 MB, free: 1.023 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003989/0.0319, allocations: 135.9 kB / 394.4 MB, free: 0.8906 MB / 362.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.00191/0.03381, allocations: 1.392 MB / 395.8 MB, free: 15.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006/0.03441, allocations: 386.6 kB / 396.2 MB, free: 15.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.03441, allocations: 0 / 396.2 MB, free: 15.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.03464, allocations: 231.3 kB / 396.4 MB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.03512, allocations: 139.8 kB / 396.5 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.03924, allocations: 4.184 MB / 400.7 MB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.03948, allocations: 277.7 kB / 401 MB, free: 10.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002007/0.03968, allocations: 64.23 kB / 401.1 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.03987, allocations: 180.4 kB / 401.2 MB, free: 9.965 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03987, allocations: 4 kB / 401.2 MB, free: 9.961 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.07258, allocations: 13.27 MB / 414.5 MB, free: 12.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.119/9.192, allocations: 0 / 414.5 MB, free: 12.82 MB / 394.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: 11.443332310765982] Failed to read output from testmodel.py, exit status != 0: 9.306525917723775 9.316367108 9.298463098 Calling exit ...