Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.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.001327/0.001327, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001588/0.001588, allocations: 173.6 kB / 24.91 MB, free: 8.77 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.266/0.266, allocations: 29.42 MB / 291.2 MB, free: 2.48 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_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 316.8 MB, free: 36 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.526e-05, allocations: 5.609 kB / 316.8 MB, free: 32 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.00494/0.004965, allocations: 4.828 MB / 321.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.007376, allocations: 1.597 MB / 323.2 MB, free: 9.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003791/0.007755, allocations: 23.81 kB / 323.3 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.008121, allocations: 123 kB / 323.4 MB, free: 9.426 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006793/0.0088, allocations: 317.8 kB / 323.7 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.00914, allocations: 155.7 kB / 323.9 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007465/0.009887, allocations: 0.7206 MB / 324.6 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004231/0.01031, allocations: 362.3 kB / 324.9 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005439/0.01085, allocations: 423 kB / 325.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003491/0.0112, allocations: 239.3 kB / 325.6 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.113e-05/0.01125, allocations: 48 kB / 325.6 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.536e-05/0.01131, allocations: 44 kB / 325.7 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.01143, allocations: 167.5 kB / 325.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.01157, allocations: 183.6 kB / 326 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.01202, allocations: 386.6 kB / 326.4 MB, free: 6.418 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.01203, allocations: 4 kB / 326.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01203, allocations: 4 kB / 326.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.01204, allocations: 0 / 326.4 MB, free: 6.41 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0007927/0.01283, allocations: 0.673 MB / 327.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.01287, allocations: 15.98 kB / 327.1 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.565e-05/0.01297, allocations: 68.89 kB / 327.1 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.01343, allocations: 370.2 kB / 327.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.806e-05/0.01351, allocations: 80.97 kB / 327.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.326e-05/0.01357, allocations: 44.12 kB / 327.6 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.01395, allocations: 376.4 kB / 328 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.01397, allocations: 0 / 328 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.014, allocations: 27.98 kB / 328 MB, free: 4.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.01401, allocations: 8 kB / 328 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.01417, allocations: 133.6 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.01552, allocations: 1.566 MB / 329.7 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.01572, allocations: 189.2 kB / 329.9 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.01578, allocations: 50.56 kB / 330 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.0158, allocations: 8 kB / 330 MB, free: 2.598 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.01582, allocations: 38.55 kB / 330 MB, free: 2.551 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.01582, allocations: 0 / 330 MB, free: 2.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007953/0.01662, allocations: 411.9 kB / 330.4 MB, free: 2.113 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.01666, allocations: 110.8 kB / 330.5 MB, free: 1.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.01688, allocations: 287.1 kB / 330.8 MB, free: 1.688 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.01691, allocations: 33.7 kB / 330.8 MB, free: 1.648 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.01703, allocations: 252.6 kB / 331.1 MB, free: 1.398 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.01708, allocations: 87.25 kB / 331.2 MB, free: 1.312 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-05/0.01714, allocations: 69.62 kB / 331.2 MB, free: 1.238 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.01723, allocations: 346.7 kB / 331.6 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.58e-05/0.01728, allocations: 31.53 kB / 331.6 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.871e-05/0.01738, allocations: 169 kB / 331.8 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.01762, allocations: 284.9 kB / 332 MB, free: 300 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.01762, allocations: 4 kB / 332 MB, free: 296 kB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003375/0.01796, allocations: 264.9 kB / 332.3 MB, free: 20 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.01798, allocations: 8 kB / 332.3 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.01798, allocations: 4 kB / 332.3 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002187/0.0182, allocations: 75.94 kB / 332.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.01833, allocations: 67.84 kB / 332.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.01942, allocations: 1.612 MB / 334.1 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.01953, allocations: 15.94 kB / 334.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.01955, allocations: 12 kB / 334.1 MB, free: 14.13 MB / 314.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.dcm_pm.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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.0001224/0.01967, allocations: 141.5 kB / 334.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.01971, allocations: 27.98 kB / 334.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.01975, allocations: 39.11 kB / 334.3 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01975, allocations: 4 kB / 334.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.01976, allocations: 7.984 kB / 334.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01976, allocations: 4 kB / 334.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.02027, allocations: 451 kB / 334.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02027, allocations: 4 kB / 334.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.0204, allocations: 43.91 kB / 334.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.307e-05/0.02046, allocations: 16.84 kB / 334.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.02047, allocations: 11.98 kB / 334.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005264/0.021, allocations: 1.147 MB / 336 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.021, allocations: 3.938 kB / 336 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.02127, allocations: 407.7 kB / 336.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.02131, allocations: 35.75 kB / 336.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.02133, allocations: 0 / 336.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.02142, allocations: 16.11 kB / 336.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.02147, allocations: 23.91 kB / 336.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.02147, allocations: 4 kB / 336.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.809e-05/0.02155, allocations: 108.5 kB / 336.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02155, allocations: 0 / 336.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003173/0.02187, allocations: 84 kB / 336.6 MB, free: 11.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (dcm_pm.motor.i,loadInertia.w,frictTorq.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.964e-05/0.02197, allocations: 80.42 kB / 336.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003401/0.02231, allocations: 283.2 kB / 337 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/0.02232, allocations: 8 kB / 337 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.02246, allocations: 179.4 kB / 337.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.02283, allocations: 103.8 kB / 337.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.02418, allocations: 0.8116 MB / 338.1 MB, free: 9.895 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.815e-05/0.02427, allocations: 121.3 kB / 338.2 MB, free: 9.754 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.02438, allocations: 51.25 kB / 338.3 MB, free: 9.703 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.02451, allocations: 119.3 kB / 338.4 MB, free: 9.586 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.02451, allocations: 0 / 338.4 MB, free: 9.586 MB / 314.7 MB Notification: Performance of Templates: time 0.007118/0.03163, allocations: 4.39 MB / 342.8 MB, free: 5.301 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0392675511538982]