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.001102/0.001102, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001022/0.001022, allocations: 165 kB / 24.56 MB, free: 16 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 0.9713/0.9713, allocations: 177.1 MB / 205 MB, free: 5.641 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.2117/0.2117, allocations: 29.41 MB / 290.9 MB, free: 2.496 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.894e-06/1.894e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.7e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.00555/0.005577, allocations: 4.967 MB / 374.6 MB, free: 6.012 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.007635, allocations: 2.087 MB / 376.7 MB, free: 3.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.007822, allocations: 19.81 kB / 376.7 MB, free: 3.898 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004053/0.008227, allocations: 146.9 kB / 376.8 MB, free: 3.754 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005619/0.008789, allocations: 405.5 kB / 377.2 MB, free: 3.355 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.009093, allocations: 227.3 kB / 377.5 MB, free: 3.133 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005973/0.009691, allocations: 0.7315 MB / 378.2 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000318/0.01001, allocations: 344 kB / 378.5 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003729/0.01038, allocations: 430.9 kB / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.01065, allocations: 251.3 kB / 379.2 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.0107, allocations: 48 kB / 379.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.01086, allocations: 135.9 kB / 379.4 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.01098, allocations: 159.5 kB / 379.5 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.01113, allocations: 183.5 kB / 379.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.01159, allocations: 498.2 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01159, allocations: 4 kB / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01159, allocations: 0 / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.0116, allocations: 0 / 380.2 MB, free: 396 kB / 346.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.0009294/0.01253, allocations: 0.894 MB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.01256, allocations: 15.98 kB / 381.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004427/0.013, allocations: 92.55 kB / 381.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.01348, allocations: 454.7 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.0135, allocations: 29.12 kB / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/0.01356, allocations: 40 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.01394, allocations: 393.5 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.01396, allocations: 4 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.01399, allocations: 20 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.014, allocations: 8 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.0142, allocations: 147.7 kB / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.0155, allocations: 2.03 MB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.0158, allocations: 205.2 kB / 384.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.044e-05/0.01587, allocations: 62.98 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.01589, allocations: 8 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.01606, allocations: 156.3 kB / 384.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.183e-06/0.01606, allocations: 0 / 384.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.000986/0.01705, allocations: 0.7317 MB / 385.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.0171, allocations: 132.5 kB / 385.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.01738, allocations: 430.4 kB / 386 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.0174, allocations: 33.7 kB / 386 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.01754, allocations: 323 kB / 386.4 MB, free: 9.836 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/0.01759, allocations: 99.11 kB / 386.5 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/0.01766, allocations: 75.3 kB / 386.5 MB, free: 9.656 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.01778, allocations: 0.5235 MB / 387.1 MB, free: 9.121 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.486e-05/0.01785, allocations: 39.97 kB / 387.1 MB, free: 9.082 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.018, allocations: 251.7 kB / 387.3 MB, free: 8.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.01823, allocations: 297.9 kB / 387.6 MB, free: 8.383 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.01823, allocations: 4 kB / 387.6 MB, free: 8.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004367/0.01867, allocations: 352.5 kB / 388 MB, free: 8.023 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.01868, allocations: 8 kB / 388 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.01869, allocations: 4 kB / 388 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000422/0.01911, allocations: 107.9 kB / 388.1 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.01924, allocations: 67.91 kB / 388.2 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.02061, allocations: 2.286 MB / 390.4 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.02073, allocations: 20.03 kB / 390.5 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.02075, allocations: 15.98 kB / 390.5 MB, free: 5.398 MB / 362.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.0001154/0.02086, allocations: 176.5 kB / 390.7 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.02091, allocations: 55.66 kB / 390.7 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.02123, allocations: 237 kB / 390.9 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.02123, allocations: 0 / 390.9 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.02123, allocations: 4 kB / 390.9 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.02124, allocations: 0 / 390.9 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005794/0.02182, allocations: 0.6418 MB / 391.6 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02182, allocations: 0 / 391.6 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.02194, allocations: 43.92 kB / 391.6 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/0.02206, allocations: 51.5 kB / 391.7 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.02207, allocations: 8 kB / 391.7 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000759/0.02283, allocations: 1.834 MB / 393.5 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.02283, allocations: 0 / 393.5 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.02321, allocations: 442.5 kB / 394 MB, free: 1.691 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.081e-05/0.02328, allocations: 59.69 kB / 394 MB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.02331, allocations: 8 kB / 394 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.02341, allocations: 15.92 kB / 394 MB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.02346, allocations: 27.92 kB / 394.1 MB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.02347, allocations: 12 kB / 394.1 MB, free: 1.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001636/0.02364, allocations: 271.1 kB / 394.3 MB, free: 1.309 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02364, allocations: 0 / 394.3 MB, free: 1.309 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003281/0.02397, allocations: 123.9 kB / 394.5 MB, free: 1.188 MB / 362.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.0008557/0.02482, allocations: 443.9 kB / 394.9 MB, free: 0.918 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004996/0.02532, allocations: 413 kB / 395.3 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.02532, allocations: 5 kB / 395.3 MB, free: 500 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.02565, allocations: 273.5 kB / 395.6 MB, free: 204 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.02602, allocations: 114.8 kB / 395.7 MB, free: 92 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.02749, allocations: 0.9698 MB / 396.6 MB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.512e-05/0.02756, allocations: 129.2 kB / 396.8 MB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.02769, allocations: 59.23 kB / 396.8 MB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.02775, allocations: 40.5 kB / 396.9 MB, free: 14.83 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02775, allocations: 0 / 396.9 MB, free: 14.83 MB / 378.7 MB Notification: Performance of Templates: time 0.00807/0.03582, allocations: 6.448 MB / 403.3 MB, free: 8.488 MB / 378.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3410591650754213]