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.0008813/0.0008813, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002208, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001008/0.001008, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001322/0.00233, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9144/0.9144, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08213/0.9965, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.1171/0.1171, allocations: 29.43 MB / 273.4 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1088/0.2259, allocations: 9.525 MB / 282.9 MB, free: 12.84 MB / 282.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.172e-06/1.172e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.885e-06/9.057e-06, allocations: 2.312 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.004816/0.004825, allocations: 5.227 MB / 289.4 MB, free: 7.852 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.007656, allocations: 2.294 MB / 291.7 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002528/0.007909, allocations: 27.69 kB / 291.7 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.00827, allocations: 165.4 kB / 291.9 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007233/0.008994, allocations: 454 kB / 292.4 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.009404, allocations: 257.8 kB / 292.6 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007557/0.01016, allocations: 0.8672 MB / 293.5 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003649/0.01052, allocations: 413 kB / 293.9 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005495/0.01107, allocations: 0.534 MB / 294.4 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003122/0.01139, allocations: 294.2 kB / 294.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.606e-05/0.01144, allocations: 53.66 kB / 294.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.01167, allocations: 145.6 kB / 294.9 MB, free: 4.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.01179, allocations: 170.6 kB / 295.1 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.01193, allocations: 175.6 kB / 295.2 MB, free: 3.746 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.01239, allocations: 0.4944 MB / 295.7 MB, free: 3.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/0.0124, allocations: 0 / 295.7 MB, free: 3.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.0124, allocations: 0 / 295.7 MB, free: 3.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.01241, allocations: 0 / 295.7 MB, free: 3.25 MB / 282.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.0008602/0.01327, allocations: 0.9371 MB / 296.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.393e-05/0.0133, allocations: 15.97 kB / 296.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.706e-05/0.01337, allocations: 72.88 kB / 296.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.01381, allocations: 425.2 kB / 297.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.01383, allocations: 37.12 kB / 297.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.01389, allocations: 48 kB / 297.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.01423, allocations: 398.2 kB / 297.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.01424, allocations: 15.88 kB / 297.7 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.01427, allocations: 16 kB / 297.7 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/0.0143, allocations: 13 kB / 297.7 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.01446, allocations: 133.6 kB / 297.8 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.01577, allocations: 1.541 MB / 299.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.01601, allocations: 194.3 kB / 299.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.01606, allocations: 46.56 kB / 299.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.01608, allocations: 4 kB / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.01621, allocations: 147 kB / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.273e-06/0.01621, allocations: 0 / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006799/0.01689, allocations: 464.3 kB / 300.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.01693, allocations: 114.7 kB / 300.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.01716, allocations: 381 kB / 300.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.01717, allocations: 37.7 kB / 300.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/0.01727, allocations: 265.1 kB / 301 MB, free: 13.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.01732, allocations: 91.22 kB / 301.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/0.01739, allocations: 82.05 kB / 301.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.01747, allocations: 358.7 kB / 301.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.387e-05/0.01752, allocations: 35.81 kB / 301.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.01762, allocations: 192 kB / 301.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.01779, allocations: 247 kB / 302 MB, free: 12.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01779, allocations: 0 / 302 MB, free: 12.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003218/0.01811, allocations: 291.8 kB / 302.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.01812, allocations: 11.98 kB / 302.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01813, allocations: 4 kB / 302.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002101/0.01834, allocations: 87.83 kB / 302.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.0185, allocations: 100.7 kB / 302.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009423/0.01944, allocations: 1.419 MB / 303.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.01955, allocations: 12 kB / 303.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.01957, allocations: 19.98 kB / 303.9 MB, free: 10.52 MB / 298.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 9.376e-05/0.01966, allocations: 140.5 kB / 304 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.0197, allocations: 31.91 kB / 304.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.01992, allocations: 191.6 kB / 304.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01992, allocations: 0 / 304.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01992, allocations: 4 kB / 304.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01993, allocations: 3.984 kB / 304.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.02038, allocations: 485.8 kB / 304.7 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.02038, allocations: 0 / 304.7 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.02054, allocations: 59.89 kB / 304.8 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.02059, allocations: 43.7 kB / 304.8 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.637e-05/0.02069, allocations: 43.58 kB / 304.9 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.0207, allocations: 8 kB / 304.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006043/0.02131, allocations: 1.257 MB / 306.1 MB, free: 8.137 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.02131, allocations: 4.031 kB / 306.1 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.02159, allocations: 363.3 kB / 306.5 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.02162, allocations: 11.94 kB / 306.5 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.02171, allocations: 4 kB / 306.5 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.02175, allocations: 23.95 kB / 306.5 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.02176, allocations: 8 kB / 306.5 MB, free: 7.703 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001256/0.02188, allocations: 159.5 kB / 306.7 MB, free: 7.543 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02188, allocations: 0 / 306.7 MB, free: 7.543 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002828/0.02217, allocations: 135.9 kB / 306.8 MB, free: 7.41 MB / 298.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.001149/0.02332, allocations: 0.6081 MB / 307.4 MB, free: 7.148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003308/0.02365, allocations: 311.8 kB / 307.7 MB, free: 6.828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/0.02366, allocations: 8 kB / 307.7 MB, free: 6.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.02382, allocations: 203.9 kB / 307.9 MB, free: 6.605 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.02415, allocations: 161 kB / 308.1 MB, free: 6.453 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00826/0.03241, allocations: 1.018 MB / 309.1 MB, free: 5.398 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.852e-05/0.0325, allocations: 145.2 kB / 309.3 MB, free: 5.238 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000128/0.03262, allocations: 55.39 kB / 309.3 MB, free: 5.184 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.03279, allocations: 145.2 kB / 309.5 MB, free: 5.039 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0328, allocations: 3.938 kB / 309.5 MB, free: 5.035 MB / 298.7 MB Notification: Performance of Templates: time 0.008941/0.04174, allocations: 7.423 MB / 316.9 MB, free: 13.75 MB / 314.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: 2.790990640409291]