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.001067/0.001067, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001239/0.001239, allocations: 172.4 kB / 24.91 MB, free: 8.785 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2766/0.2766, allocations: 29.42 MB / 291.2 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.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.874e-06/1.874e-06, allocations: 0 / 316.8 MB, free: 32 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.737e-05, allocations: 2.312 kB / 316.8 MB, free: 28 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.006079/0.006106, allocations: 5.437 MB / 322.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005311/0.01142, allocations: 4.329 MB / 326.6 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.01174, allocations: 23.81 kB / 326.6 MB, free: 6.191 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007058/0.01879, allocations: 5.298 MB / 331.9 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007528/0.01955, allocations: 453.4 kB / 332.4 MB, free: 444 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.02017, allocations: 299.3 kB / 332.7 MB, free: 144 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.02184, allocations: 1.821 MB / 334.5 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006667/0.0225, allocations: 0.6593 MB / 335.1 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006922/0.0232, allocations: 0.6508 MB / 335.8 MB, free: 13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005016/0.0237, allocations: 466.7 kB / 336.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.791e-05/0.02378, allocations: 72 kB / 336.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.02401, allocations: 147.7 kB / 336.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002554/0.02426, allocations: 347.2 kB / 336.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.0245, allocations: 271.4 kB / 337.1 MB, free: 11.72 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007638/0.02526, allocations: 0.6464 MB / 337.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.02527, allocations: 0 / 337.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.02527, allocations: 3.938 kB / 337.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.02528, allocations: 0 / 337.7 MB, free: 11.07 MB / 314.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.001168/0.02645, allocations: 0.9311 MB / 338.6 MB, free: 10.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.02649, allocations: 19.98 kB / 338.7 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003328/0.02682, allocations: 124.8 kB / 338.8 MB, free: 9.961 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006144/0.02743, allocations: 484.5 kB / 339.3 MB, free: 9.461 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.0275, allocations: 83.31 kB / 339.3 MB, free: 9.371 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.507e-05/0.02758, allocations: 59.94 kB / 339.4 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.02812, allocations: 0.5376 MB / 339.9 MB, free: 8.727 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.02813, allocations: 0 / 339.9 MB, free: 8.727 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/0.02818, allocations: 24 kB / 340 MB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.171e-05/0.02826, allocations: 49.28 kB / 340 MB, free: 8.656 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.02855, allocations: 225.5 kB / 340.2 MB, free: 8.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.0305, allocations: 1.969 MB / 342.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.03086, allocations: 294 kB / 342.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.824e-05/0.03096, allocations: 104.1 kB / 342.6 MB, free: 5.965 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.03099, allocations: 8.656 kB / 342.6 MB, free: 5.957 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.0312, allocations: 262.9 kB / 342.8 MB, free: 5.668 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.653e-06/0.03121, allocations: 0 / 342.8 MB, free: 5.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001242/0.03245, allocations: 0.9409 MB / 343.8 MB, free: 4.652 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.03251, allocations: 148.5 kB / 343.9 MB, free: 4.477 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.03272, allocations: 351.2 kB / 344.3 MB, free: 4.117 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.03276, allocations: 33.7 kB / 344.3 MB, free: 4.078 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.0329, allocations: 301.5 kB / 344.6 MB, free: 3.781 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.686e-05/0.03299, allocations: 166.6 kB / 344.8 MB, free: 3.617 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.0331, allocations: 114.2 kB / 344.9 MB, free: 3.496 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.03321, allocations: 362.7 kB / 345.2 MB, free: 3.133 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.569e-05/0.0333, allocations: 93.81 kB / 345.3 MB, free: 3.035 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.03347, allocations: 263.4 kB / 345.6 MB, free: 2.703 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.03391, allocations: 0.5013 MB / 346.1 MB, free: 2.121 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.03391, allocations: 4 kB / 346.1 MB, free: 2.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006207/0.03453, allocations: 0.5357 MB / 346.6 MB, free: 1.551 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.03456, allocations: 36.05 kB / 346.7 MB, free: 1.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.03457, allocations: 4 kB / 346.7 MB, free: 1.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005164/0.03509, allocations: 259.3 kB / 346.9 MB, free: 1.246 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.03547, allocations: 127.8 kB / 347 MB, free: 1.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/0.03826, allocations: 3.536 MB / 350.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.0384, allocations: 16 kB / 350.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.03843, allocations: 23.98 kB / 350.6 MB, free: 13.37 MB / 330.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.0001611/0.03859, allocations: 182.1 kB / 350.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.03864, allocations: 43.95 kB / 350.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/0.03905, allocations: 381.9 kB / 351.2 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.03906, allocations: 4 kB / 351.2 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.03906, allocations: 7.984 kB / 351.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.03907, allocations: 0 / 351.2 MB, free: 12.71 MB / 330.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.0008947/0.03996, allocations: 0.8365 MB / 352.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.03997, allocations: 3.938 kB / 352.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/0.04046, allocations: 144 kB / 352.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001173/0.04058, allocations: 60.19 kB / 352.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.0406, allocations: 12 kB / 352.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.04218, allocations: 3.549 MB / 355.8 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.04219, allocations: 4 kB / 355.8 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005448/0.04273, allocations: 0.6416 MB / 356.5 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.04284, allocations: 67.66 kB / 356.5 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.578e-05/0.04289, allocations: 15.98 kB / 356.5 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.04303, allocations: 8 kB / 356.6 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.214e-05/0.0431, allocations: 35.88 kB / 356.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.04312, allocations: 12 kB / 356.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.04324, allocations: 148.7 kB / 356.7 MB, free: 6.773 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04324, allocations: 0 / 356.7 MB, free: 6.773 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003934/0.04363, allocations: 160 kB / 356.9 MB, free: 6.617 MB / 330.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.0001069/0.04374, allocations: 100.3 kB / 357 MB, free: 6.508 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007924/0.04453, allocations: 0.7589 MB / 357.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.04454, allocations: 4.75 kB / 357.8 MB, free: 5.691 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.04491, allocations: 0.56 MB / 358.3 MB, free: 5.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.04526, allocations: 140.5 kB / 358.5 MB, free: 4.938 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.04708, allocations: 1.263 MB / 359.7 MB, free: 3.621 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.04723, allocations: 197.7 kB / 359.9 MB, free: 3.406 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001711/0.0474, allocations: 72.55 kB / 360 MB, free: 3.332 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.04759, allocations: 139.3 kB / 360.1 MB, free: 3.195 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.0476, allocations: 7.938 kB / 360.1 MB, free: 3.188 MB / 330.7 MB Notification: Performance of Templates: time 0.0113/0.05889, allocations: 8.203 MB / 368.3 MB, free: 11.12 MB / 346.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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3861146909184754]