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.001961/0.001961, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001998/0.001998, allocations: 169.3 kB / 24.28 MB, free: 152 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.546/1.546, allocations: 177.1 MB / 204.6 MB, free: 5.551 MB / 186.7 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.2987/0.2987, allocations: 29.41 MB / 290.5 MB, free: 2.43 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: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.792e-05, allocations: 5.406 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.008568/0.008596, allocations: 5.776 MB / 374.7 MB, free: 5.473 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003911/0.01251, allocations: 2.231 MB / 376.9 MB, free: 3.234 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003012/0.01281, allocations: 23.81 kB / 376.9 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005788/0.01339, allocations: 166.7 kB / 377.1 MB, free: 3.047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.01449, allocations: 481 kB / 377.6 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005853/0.01507, allocations: 251.3 kB / 377.8 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.01632, allocations: 0.8795 MB / 378.7 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008286/0.01715, allocations: 405.2 kB / 379.1 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007635/0.01792, allocations: 0.4909 MB / 379.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.01846, allocations: 307.2 kB / 379.9 MB, free: 256 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.01856, allocations: 59.94 kB / 379.9 MB, free: 196 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.01885, allocations: 143.8 kB / 380.1 MB, free: 52 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002493/0.0191, allocations: 195.4 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003004/0.0194, allocations: 211.5 kB / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.02048, allocations: 0.7944 MB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.02049, allocations: 0 / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.02049, allocations: 4 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.0205, allocations: 0 / 381.3 MB, free: 14.85 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.001886/0.02238, allocations: 0.9994 MB / 382.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.02243, allocations: 15.98 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.02263, allocations: 96.56 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.02365, allocations: 497.8 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.02369, allocations: 33.12 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.02382, allocations: 51.98 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008857/0.0247, allocations: 0.5221 MB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.02472, allocations: 3.953 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/0.02477, allocations: 20 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.069e-05/0.02484, allocations: 13 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005245/0.02537, allocations: 251.7 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003318/0.02869, allocations: 2.392 MB / 386.1 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.02916, allocations: 244.4 kB / 386.4 MB, free: 9.477 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.02931, allocations: 83.16 kB / 386.5 MB, free: 9.383 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.02934, allocations: 4 kB / 386.5 MB, free: 9.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003014/0.02964, allocations: 186.5 kB / 386.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.383e-06/0.02964, allocations: 0 / 386.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001774/0.03141, allocations: 0.8609 MB / 387.5 MB, free: 8.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.03152, allocations: 140.4 kB / 387.6 MB, free: 8.102 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006391/0.03216, allocations: 0.5259 MB / 388.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.03219, allocations: 37.95 kB / 388.2 MB, free: 7.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.0325, allocations: 374.9 kB / 388.6 MB, free: 7.145 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.858e-05/0.0326, allocations: 99.17 kB / 388.7 MB, free: 7.047 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.03274, allocations: 95.8 kB / 388.8 MB, free: 6.945 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000324/0.03306, allocations: 0.5509 MB / 389.3 MB, free: 6.383 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.03323, allocations: 76.95 kB / 389.4 MB, free: 6.305 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.03358, allocations: 304.4 kB / 389.7 MB, free: 5.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005305/0.03411, allocations: 394.7 kB / 390.1 MB, free: 5.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.03411, allocations: 0 / 390.1 MB, free: 5.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009164/0.03503, allocations: 452.7 kB / 390.5 MB, free: 5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.03505, allocations: 8 kB / 390.5 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.03506, allocations: 4 kB / 390.5 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005383/0.0356, allocations: 111.8 kB / 390.6 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.03586, allocations: 75.84 kB / 390.7 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/0.03854, allocations: 2.193 MB / 392.9 MB, free: 2.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.03877, allocations: 27.86 kB / 392.9 MB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.03881, allocations: 16 kB / 392.9 MB, free: 2.445 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.0002504/0.03906, allocations: 228.4 kB / 393.2 MB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/0.03914, allocations: 47.72 kB / 393.2 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005967/0.03973, allocations: 275.9 kB / 393.5 MB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.03974, allocations: 8 kB / 393.5 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.03974, allocations: 0 / 393.5 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.03975, allocations: 3.984 kB / 393.5 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.04109, allocations: 0.7935 MB / 394.3 MB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.04109, allocations: 4 kB / 394.3 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.04137, allocations: 43.97 kB / 394.3 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/0.04158, allocations: 55.58 kB / 394.4 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.04161, allocations: 8 kB / 394.4 MB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.04337, allocations: 1.931 MB / 396.3 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.04337, allocations: 0 / 396.3 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008097/0.04418, allocations: 0.514 MB / 396.8 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.04431, allocations: 55.73 kB / 396.9 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.04437, allocations: 8 kB / 396.9 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.04456, allocations: 7.984 kB / 396.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/0.04463, allocations: 19.97 kB / 396.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.04466, allocations: 11.98 kB / 396.9 MB, free: 14.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003967/0.04505, allocations: 335.1 kB / 397.3 MB, free: 13.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04505, allocations: 0 / 397.3 MB, free: 13.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005193/0.04557, allocations: 135.9 kB / 397.4 MB, free: 13.76 MB / 378.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.002835/0.04841, allocations: 493.2 kB / 397.9 MB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008525/0.04926, allocations: 458.3 kB / 398.3 MB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.04926, allocations: 3.938 kB / 398.3 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.0497, allocations: 294.2 kB / 398.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006994/0.0504, allocations: 136.7 kB / 398.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.05227, allocations: 1.059 MB / 399.8 MB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.05258, allocations: 269.7 kB / 400.1 MB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002152/0.0528, allocations: 63.36 kB / 400.1 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.05299, allocations: 36.48 kB / 400.2 MB, free: 11.06 MB / 378.7 MB Notification: Performance of SimCode: time 5.82e-07/0.05299, allocations: 0 / 400.2 MB, free: 11.06 MB / 378.7 MB Notification: Performance of Templates: time 0.01393/0.06692, allocations: 6.598 MB / 406.8 MB, free: 4.582 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.047983141965233]