Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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.0009978/0.0009978, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001812/0.001812, allocations: 169.3 kB / 24.91 MB, free: 9.184 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 1.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.28/0.28, allocations: 29.42 MB / 291.2 MB, free: 2.484 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_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.507e-05, allocations: 3.406 kB / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.005787/0.005812, allocations: 4.984 MB / 321.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003123/0.008935, allocations: 2.13 MB / 324 MB, free: 8.824 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002927/0.009227, allocations: 19.81 kB / 324 MB, free: 8.805 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004423/0.00967, allocations: 146.8 kB / 324.1 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008678/0.01054, allocations: 401.4 kB / 324.5 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.01101, allocations: 219.4 kB / 324.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007419/0.01175, allocations: 0.7392 MB / 325.5 MB, free: 7.309 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00034/0.01209, allocations: 349.9 kB / 325.8 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004551/0.01254, allocations: 440 kB / 326.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.01284, allocations: 247.3 kB / 326.5 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.632e-05/0.01289, allocations: 48 kB / 326.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.01311, allocations: 135.8 kB / 326.7 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.01324, allocations: 159.5 kB / 326.8 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.01338, allocations: 183.6 kB / 327 MB, free: 5.773 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005569/0.01394, allocations: 494.3 kB / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01394, allocations: 0 / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01394, allocations: 0 / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.01395, allocations: 0 / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009145/0.01486, allocations: 0.7652 MB / 328.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.0149, allocations: 11.98 kB / 328.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.83e-05/0.01499, allocations: 64.88 kB / 328.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.01544, allocations: 389.2 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.01547, allocations: 25.12 kB / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.01552, allocations: 44 kB / 328.8 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.01586, allocations: 353.5 kB / 329.1 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.01587, allocations: 7.984 kB / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.0159, allocations: 16 kB / 329.2 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.01591, allocations: 8 kB / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.01607, allocations: 119.2 kB / 329.3 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.01725, allocations: 1.464 MB / 330.7 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.01751, allocations: 206.1 kB / 331 MB, free: 1.625 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/0.01757, allocations: 42.69 kB / 331 MB, free: 1.574 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.01759, allocations: 4 kB / 331 MB, free: 1.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.01776, allocations: 151.7 kB / 331.1 MB, free: 1.402 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.783e-06/0.01776, allocations: 0 / 331.1 MB, free: 1.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008097/0.01857, allocations: 478.4 kB / 331.6 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.01862, allocations: 136.5 kB / 331.7 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.01888, allocations: 360.9 kB / 332.1 MB, free: 376 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.0189, allocations: 29.7 kB / 332.1 MB, free: 340 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.01901, allocations: 237 kB / 332.4 MB, free: 96 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.01906, allocations: 95.19 kB / 332.5 MB, free: 0 / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.053e-05/0.01914, allocations: 77.61 kB / 332.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.124e-05/0.01923, allocations: 350.7 kB / 332.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.757e-05/0.01928, allocations: 31.53 kB / 332.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.01939, allocations: 193.8 kB / 333.1 MB, free: 15.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.01958, allocations: 233.4 kB / 333.3 MB, free: 15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01958, allocations: 0 / 333.3 MB, free: 15 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003463/0.01993, allocations: 279.5 kB / 333.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.01994, allocations: 8 kB / 333.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.01995, allocations: 4 kB / 333.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/0.0202, allocations: 92.03 kB / 333.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.02034, allocations: 75.84 kB / 333.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.02173, allocations: 1.685 MB / 335.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.02185, allocations: 16 kB / 335.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.02187, allocations: 19.98 kB / 335.5 MB, free: 12.72 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (37): * Single equations (assignments): 36 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.02198, allocations: 140.5 kB / 335.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.02202, allocations: 31.97 kB / 335.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.02231, allocations: 184.9 kB / 335.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.02231, allocations: 4 kB / 335.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.02232, allocations: 0 / 335.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.02232, allocations: 7.938 kB / 335.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.0228, allocations: 486.8 kB / 336.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.0228, allocations: 0 / 336.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.02295, allocations: 51.91 kB / 336.4 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/0.02305, allocations: 39.62 kB / 336.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.02306, allocations: 8 kB / 336.4 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006695/0.02373, allocations: 1.25 MB / 337.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.02373, allocations: 4 kB / 337.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.02404, allocations: 374.5 kB / 338 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.0241, allocations: 43.7 kB / 338.1 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.02413, allocations: 4.031 kB / 338.1 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-05/0.02422, allocations: 16 kB / 338.1 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.02426, allocations: 23.95 kB / 338.1 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.02427, allocations: 4 kB / 338.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001145/0.02439, allocations: 147.5 kB / 338.3 MB, free: 9.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02439, allocations: 0 / 338.3 MB, free: 9.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002999/0.02469, allocations: 123.8 kB / 338.4 MB, free: 9.648 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.rotor.phi,dcm_ser.rotor.w,dcm_ser.motor.i,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 (24): * Single equations (assignments): 22 * 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.001338/0.02602, allocations: 0.5756 MB / 339 MB, free: 9.371 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003995/0.02642, allocations: 311.8 kB / 339.3 MB, free: 9.051 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.02643, allocations: 4 kB / 339.3 MB, free: 9.047 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.0266, allocations: 211 kB / 339.5 MB, free: 8.824 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.02695, allocations: 127.5 kB / 339.6 MB, free: 8.699 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.0283, allocations: 0.909 MB / 340.5 MB, free: 7.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.839e-05/0.02837, allocations: 129.2 kB / 340.6 MB, free: 7.602 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.02849, allocations: 55.25 kB / 340.7 MB, free: 7.551 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.02866, allocations: 137.3 kB / 340.8 MB, free: 7.418 MB / 314.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02866, allocations: 4 kB / 340.8 MB, free: 7.414 MB / 314.7 MB Notification: Performance of Templates: time 0.008854/0.03751, allocations: 7.03 MB / 347.9 MB, free: 0.5156 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1383513868786395]