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.001863/0.001863, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002251/0.002251, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.542/1.542, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.1774/0.1774, allocations: 29.44 MB / 290.1 MB, free: 3.285 MB / 270.1 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.463e-06/1.463e-06, allocations: 0 / 430.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.607e-05, allocations: 9.172 kB / 430.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.008126/0.008153, allocations: 5.5 MB / 436.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007039/0.01519, allocations: 4.099 MB / 440.3 MB, free: 8.312 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000472/0.01566, allocations: 23.81 kB / 440.3 MB, free: 8.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01229/0.02795, allocations: 5.469 MB / 445.8 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.02936, allocations: 453.5 kB / 446.2 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009136/0.03027, allocations: 283.4 kB / 446.5 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002993/0.03326, allocations: 1.836 MB / 448.4 MB, free: 252 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2142/0.2475, allocations: 0.609 MB / 449 MB, free: 20.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.2486, allocations: 0.6407 MB / 449.6 MB, free: 20.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007596/0.2493, allocations: 484.5 kB / 450.1 MB, free: 20.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.2495, allocations: 72.38 kB / 450.2 MB, free: 20.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.2499, allocations: 141.9 kB / 450.3 MB, free: 20.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003555/0.2502, allocations: 347 kB / 450.6 MB, free: 20.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003199/0.2505, allocations: 270.6 kB / 450.9 MB, free: 20.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.2518, allocations: 1.046 MB / 451.9 MB, free: 20.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2519, allocations: 0 / 451.9 MB, free: 20.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2519, allocations: 3.75 kB / 451.9 MB, free: 20.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.2519, allocations: 3.938 kB / 451.9 MB, free: 20.16 MB / 366.1 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.001923/0.2538, allocations: 0.9701 MB / 452.9 MB, free: 19.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2538, allocations: 9.812 kB / 452.9 MB, free: 19.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004974/0.2543, allocations: 103 kB / 453 MB, free: 19.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.2556, allocations: 0.5509 MB / 453.6 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.2557, allocations: 81.92 kB / 453.7 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.2559, allocations: 63.23 kB / 453.7 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.2573, allocations: 0.8404 MB / 454.6 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.2573, allocations: 4.531 kB / 454.6 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.2574, allocations: 28.28 kB / 454.6 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/0.2575, allocations: 52.75 kB / 454.6 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.2585, allocations: 0.6091 MB / 455.3 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003639/0.2622, allocations: 2.598 MB / 457.9 MB, free: 18.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008104/0.263, allocations: 426 kB / 458.3 MB, free: 17.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.2633, allocations: 233 kB / 458.5 MB, free: 17.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.2633, allocations: 10.66 kB / 458.5 MB, free: 17.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004857/0.2638, allocations: 377.5 kB / 458.9 MB, free: 17.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.304e-06/0.2638, allocations: 1.281 kB / 458.9 MB, free: 17.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003064/0.2669, allocations: 1.732 MB / 460.6 MB, free: 16.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.2669, allocations: 143.7 kB / 460.7 MB, free: 16.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000511/0.2674, allocations: 416.2 kB / 461.2 MB, free: 16.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.2675, allocations: 32.81 kB / 461.2 MB, free: 16.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.2677, allocations: 345 kB / 461.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.2678, allocations: 168.1 kB / 461.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.268, allocations: 110.2 kB / 461.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.182e-05/0.2681, allocations: 359.3 kB / 462.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.2685, allocations: 259.4 kB / 462.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/0.2689, allocations: 426.5 kB / 462.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002875/0.2718, allocations: 1.258 MB / 464.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.2718, allocations: 2.469 kB / 464.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001965/0.2738, allocations: 0.9913 MB / 465.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.2738, allocations: 32.98 kB / 465.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.2738, allocations: 5.203 kB / 465.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.2749, allocations: 308.6 kB / 465.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.276, allocations: 174.6 kB / 465.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006222/0.2822, allocations: 4.985 MB / 470.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004544/0.2826, allocations: 23.88 kB / 470.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.2827, allocations: 28.83 kB / 470.6 MB, free: 10.22 MB / 366.1 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.0004499/0.2831, allocations: 300.1 kB / 470.9 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.667e-05/0.2832, allocations: 51.98 kB / 471 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.2844, allocations: 0.6927 MB / 471.6 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2844, allocations: 4 kB / 471.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2844, allocations: 1.125 kB / 471.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2844, allocations: 3.672 kB / 471.7 MB, free: 9.625 MB / 366.1 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.002154/0.2866, allocations: 1.316 MB / 473 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.2866, allocations: 8 kB / 473 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/0.2879, allocations: 192.5 kB / 473.2 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002185/0.2882, allocations: 78.94 kB / 473.2 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.024e-05/0.2882, allocations: 13.66 kB / 473.3 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.2901, allocations: 3.881 MB / 477.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.2901, allocations: 2.219 kB / 477.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.2915, allocations: 1.022 MB / 478.2 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.2917, allocations: 102.4 kB / 478.3 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.128e-05/0.2917, allocations: 16.36 kB / 478.3 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.292, allocations: 19.05 kB / 478.3 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.2921, allocations: 32.72 kB / 478.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.2922, allocations: 14.5 kB / 478.3 MB, free: 4.445 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002822/0.2924, allocations: 286.7 kB / 478.6 MB, free: 4.309 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2924, allocations: 0 / 478.6 MB, free: 4.309 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007573/0.2932, allocations: 164.9 kB / 478.8 MB, free: 4.289 MB / 366.1 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.0001213/0.2933, allocations: 119.1 kB / 478.9 MB, free: 4.191 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.295, allocations: 1.013 MB / 479.9 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.295, allocations: 1.156 kB / 479.9 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006349/0.2956, allocations: 0.6604 MB / 480.6 MB, free: 3.105 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.2963, allocations: 118.2 kB / 480.7 MB, free: 3.062 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.2984, allocations: 1.518 MB / 482.2 MB, free: 2.184 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.2987, allocations: 381.4 kB / 482.6 MB, free: 2.055 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002867/0.299, allocations: 120.2 kB / 482.7 MB, free: 2.027 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.2991, allocations: 39.95 kB / 482.7 MB, free: 2.016 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2991, allocations: 0 / 482.7 MB, free: 2.016 MB / 366.1 MB Notification: Performance of Templates: time 0.014/0.3131, allocations: 7.68 MB / 490.4 MB, free: 12.34 MB / 382.1 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.270429030060768] Failed to read output from testmodel.py, exit status != 0: 0.32187343016266823 0.339178868 0.082489331 Calling exit ...