Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.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.0007804/0.0007804, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003746/0.003746, allocations: 161.2 kB / 24.7 MB, free: 9.43 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 0.847/0.847, allocations: 177.1 MB / 205 MB, free: 5.738 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.2078/0.2078, allocations: 29.41 MB / 290.8 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.AC3ph.Drives.ASM_Y_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 431.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.346e-05, allocations: 10.22 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.0049/0.004923, allocations: 5.496 MB / 437 MB, free: 7.578 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004255/0.009178, allocations: 4.09 MB / 441.1 MB, free: 3.473 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.009396, allocations: 31.75 kB / 441.1 MB, free: 3.441 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1784/0.1878, allocations: 5.467 MB / 446.6 MB, free: 45.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009297/0.1888, allocations: 449.6 kB / 447 MB, free: 45.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.1893, allocations: 295.7 kB / 447.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.1904, allocations: 1.829 MB / 449.1 MB, free: 45.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004937/0.1909, allocations: 0.618 MB / 449.7 MB, free: 45.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004722/0.1913, allocations: 0.6391 MB / 450.4 MB, free: 45.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003696/0.1917, allocations: 488 kB / 450.8 MB, free: 45.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.1918, allocations: 80.09 kB / 450.9 MB, free: 45.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.1919, allocations: 134.3 kB / 451.1 MB, free: 45.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.1921, allocations: 349 kB / 451.4 MB, free: 45.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.1923, allocations: 272.9 kB / 451.7 MB, free: 45.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006855/0.193, allocations: 1.047 MB / 452.7 MB, free: 45.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.193, allocations: 0 / 452.7 MB, free: 45.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.193, allocations: 0 / 452.7 MB, free: 45.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.193, allocations: 0 / 452.7 MB, free: 45.12 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001092/0.1941, allocations: 0.9717 MB / 453.7 MB, free: 44.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1941, allocations: 13.05 kB / 453.7 MB, free: 44.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.1944, allocations: 102.2 kB / 453.8 MB, free: 44.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006259/0.195, allocations: 0.5513 MB / 454.3 MB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.334e-05/0.1951, allocations: 76.48 kB / 454.4 MB, free: 44.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.012e-05/0.1951, allocations: 68.28 kB / 454.5 MB, free: 44.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000693/0.1958, allocations: 0.8389 MB / 455.3 MB, free: 43.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.1958, allocations: 6.75 kB / 455.3 MB, free: 43.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.1959, allocations: 22.66 kB / 455.4 MB, free: 43.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.298e-05/0.196, allocations: 57.25 kB / 455.4 MB, free: 43.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005519/0.1965, allocations: 0.615 MB / 456 MB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.1985, allocations: 2.588 MB / 458.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/0.199, allocations: 431.2 kB / 459 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.1991, allocations: 243 kB / 459.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1992, allocations: 7.594 kB / 459.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/0.1994, allocations: 365.5 kB / 459.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.503e-06/0.1995, allocations: 0 / 459.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001646/0.2011, allocations: 1.736 MB / 461.4 MB, free: 40.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.2011, allocations: 139.1 kB / 461.5 MB, free: 40.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.2014, allocations: 420.1 kB / 461.9 MB, free: 39.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.2014, allocations: 37.02 kB / 462 MB, free: 39.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.2015, allocations: 341.6 kB / 462.3 MB, free: 39.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.529e-05/0.2015, allocations: 169.4 kB / 462.5 MB, free: 39.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.932e-05/0.2016, allocations: 116.8 kB / 462.6 MB, free: 39.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.817e-05/0.2017, allocations: 357 kB / 462.9 MB, free: 39.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.2019, allocations: 255.3 kB / 463.2 MB, free: 39.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.2021, allocations: 426.4 kB / 463.6 MB, free: 38.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.2035, allocations: 1.258 MB / 464.8 MB, free: 38.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.2035, allocations: 3.281 kB / 464.8 MB, free: 38.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009271/0.2044, allocations: 0.9887 MB / 465.8 MB, free: 37.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.2045, allocations: 32.02 kB / 465.9 MB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2045, allocations: 6.25 kB / 465.9 MB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000486/0.205, allocations: 307.2 kB / 466.2 MB, free: 37.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.2054, allocations: 176.5 kB / 466.3 MB, free: 37.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003512/0.2089, allocations: 4.977 MB / 471.3 MB, free: 34.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.2091, allocations: 25.03 kB / 471.3 MB, free: 34.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.2091, allocations: 25.5 kB / 471.4 MB, free: 34.01 MB / 410.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.asm_Y_D.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (system.initime,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,relay1.y,$PRE.relay1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002288/0.2094, allocations: 294.1 kB / 471.7 MB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.2094, allocations: 58.36 kB / 471.7 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006531/0.2101, allocations: 0.6903 MB / 472.4 MB, free: 33.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2101, allocations: 6.031 kB / 472.4 MB, free: 33.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2101, allocations: 2.906 kB / 472.4 MB, free: 33.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2101, allocations: 7.219 kB / 472.4 MB, free: 33.41 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.2112, allocations: 1.313 MB / 473.7 MB, free: 32.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2112, allocations: 7.062 kB / 473.7 MB, free: 32.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005663/0.2118, allocations: 187.5 kB / 473.9 MB, free: 32.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.2119, allocations: 82.23 kB / 474 MB, free: 32.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.2119, allocations: 17.34 kB / 474 MB, free: 32.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.2131, allocations: 3.881 MB / 477.9 MB, free: 28.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2131, allocations: 3.938 kB / 477.9 MB, free: 28.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007686/0.2138, allocations: 1.021 MB / 478.9 MB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.2139, allocations: 101 kB / 479 MB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.214, allocations: 17.94 kB / 479 MB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.2141, allocations: 19.7 kB / 479.1 MB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.2142, allocations: 29.78 kB / 479.1 MB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.2142, allocations: 16.36 kB / 479.1 MB, free: 28.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001792/0.2144, allocations: 286.5 kB / 479.4 MB, free: 28.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2144, allocations: 0 / 479.4 MB, free: 28.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000434/0.2148, allocations: 165.2 kB / 479.5 MB, free: 28.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asm_Y_D.motor.i[3],asm_Y_D.motor.psi_s[1],asm_Y_D.motor.psi_s[2],asm_Y_D.motor.psi_rd[1],asm_Y_D.motor.psi_rq[1],loadInertia.w,frictTorq.phi) * Number of discrete variables: 4 ($whenCondition1,relay1.y,relay1.cnt,system.initime) * Number of discrete states: 3 (relay1.y,relay1.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (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 0.0001165/0.2149, allocations: 122.9 kB / 479.7 MB, free: 27.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009476/0.2159, allocations: 1.016 MB / 480.7 MB, free: 27.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2159, allocations: 0 / 480.7 MB, free: 27.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003622/0.2162, allocations: 0.6588 MB / 481.3 MB, free: 26.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.2166, allocations: 117.8 kB / 481.5 MB, free: 26.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.2181, allocations: 1.58 MB / 483 MB, free: 25.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.2184, allocations: 383.1 kB / 483.4 MB, free: 25.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.034e-05/0.2185, allocations: 41.67 kB / 483.4 MB, free: 25.79 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2185, allocations: 0 / 483.4 MB, free: 25.79 MB / 410.7 MB Notification: Performance of Templates: time 0.01411/0.2326, allocations: 14.83 MB / 498.3 MB, free: 24.02 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.359119886532426] Failed to read output from testmodel.py, exit status != 0: 0.23835064191371202 0.24585706400000001 0.051539042 Calling exit ...