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.0008388/0.0008388, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.002191, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001047/0.001047, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00143/0.002476, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9077/0.9077, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07741/0.9851, allocations: 53.65 MB / 243.4 MB, free: 15.5 MB / 250.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.1312/0.1312, allocations: 29.43 MB / 273.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.115/0.2462, allocations: 9.532 MB / 283.1 MB, free: 12.8 MB / 282.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.423e-06/1.423e-06, allocations: 0 / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.356e-06/9.779e-06, allocations: 2.969 kB / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.004876/0.004886, allocations: 5.549 MB / 290 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005016/0.009902, allocations: 4.34 MB / 294.3 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.01019, allocations: 29.16 kB / 294.3 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006284/0.01648, allocations: 4.932 MB / 299.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000599/0.01708, allocations: 465.4 kB / 299.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.01752, allocations: 299.3 kB / 300 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.01895, allocations: 1.786 MB / 301.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006286/0.01958, allocations: 0.6398 MB / 302.4 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00061/0.02019, allocations: 0.6898 MB / 303.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004783/0.02066, allocations: 486.6 kB / 303.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.443e-05/0.02074, allocations: 72 kB / 303.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.02096, allocations: 139.8 kB / 303.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004551/0.02141, allocations: 315.3 kB / 304.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.0216, allocations: 227.6 kB / 304.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005357/0.02213, allocations: 0.6152 MB / 305 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.02214, allocations: 0 / 305 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.02214, allocations: 0 / 305 MB, free: 10.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.02215, allocations: 0 / 305 MB, free: 10.08 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001131/0.02329, allocations: 1.08 MB / 306 MB, free: 8.969 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.549e-05/0.02331, allocations: 8.031 kB / 306.1 MB, free: 8.961 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003317/0.02364, allocations: 217.8 kB / 306.3 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.02421, allocations: 484.4 kB / 306.7 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.693e-05/0.02427, allocations: 87.25 kB / 306.8 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.185e-05/0.02434, allocations: 63.94 kB / 306.9 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/0.02483, allocations: 0.5298 MB / 307.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.02485, allocations: 4 kB / 307.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.02488, allocations: 20 kB / 307.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.428e-05/0.02495, allocations: 49.28 kB / 307.5 MB, free: 7.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/0.02521, allocations: 229.5 kB / 307.7 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.02693, allocations: 1.973 MB / 309.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.02727, allocations: 291 kB / 310 MB, free: 4.844 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.556e-05/0.02737, allocations: 108.8 kB / 310.1 MB, free: 4.727 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.02739, allocations: 8.656 kB / 310.1 MB, free: 4.719 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.02759, allocations: 254.8 kB / 310.3 MB, free: 4.438 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.402e-06/0.0276, allocations: 0 / 310.3 MB, free: 4.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001394/0.02899, allocations: 0.9695 MB / 311.3 MB, free: 3.387 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.02905, allocations: 183.9 kB / 311.5 MB, free: 3.164 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.02924, allocations: 355.2 kB / 311.8 MB, free: 2.809 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.02927, allocations: 41.64 kB / 311.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.02939, allocations: 301.5 kB / 312.2 MB, free: 2.457 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.394e-05/0.02948, allocations: 170.5 kB / 312.3 MB, free: 2.289 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.02958, allocations: 114.2 kB / 312.4 MB, free: 2.168 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.02967, allocations: 358.7 kB / 312.8 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.02976, allocations: 93.81 kB / 312.9 MB, free: 1.711 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.02992, allocations: 263.5 kB / 313.1 MB, free: 1.379 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.03033, allocations: 0.513 MB / 313.7 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.03034, allocations: 4 kB / 313.7 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005992/0.03094, allocations: 0.5358 MB / 314.2 MB, free: 220 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.03096, allocations: 33.7 kB / 314.2 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.03097, allocations: 4 kB / 314.2 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005089/0.03148, allocations: 261 kB / 314.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.03189, allocations: 147.8 kB / 314.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00279/0.03468, allocations: 3.557 MB / 318.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.03481, allocations: 20 kB / 318.2 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.03484, allocations: 20 kB / 318.2 MB, free: 12 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.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.0001346/0.03497, allocations: 182.1 kB / 318.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.03502, allocations: 39.97 kB / 318.4 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.0354, allocations: 393.6 kB / 318.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.0354, allocations: 4 kB / 318.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.03541, allocations: 0 / 318.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.03541, allocations: 3.984 kB / 318.8 MB, free: 11.34 MB / 314.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.0007966/0.03621, allocations: 0.8364 MB / 319.7 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.03621, allocations: 0 / 319.7 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005521/0.03676, allocations: 167.9 kB / 319.8 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.016e-05/0.03685, allocations: 67.66 kB / 319.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.03696, allocations: 64.19 kB / 320 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.03699, allocations: 23.92 kB / 320 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.03833, allocations: 3.549 MB / 323.5 MB, free: 6.281 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.03833, allocations: 4.031 kB / 323.5 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004892/0.03882, allocations: 0.6344 MB / 324.2 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.03886, allocations: 15.94 kB / 324.2 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.03897, allocations: 12 kB / 324.2 MB, free: 5.555 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.03905, allocations: 39.81 kB / 324.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.03906, allocations: 8 kB / 324.2 MB, free: 5.508 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.03917, allocations: 152.7 kB / 324.4 MB, free: 5.355 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03917, allocations: 4 kB / 324.4 MB, free: 5.352 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003818/0.03955, allocations: 160 kB / 324.6 MB, free: 5.195 MB / 314.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.0001066/0.03966, allocations: 102.9 kB / 324.7 MB, free: 5.086 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.04068, allocations: 0.768 MB / 325.4 MB, free: 4.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/0.0407, allocations: 12 kB / 325.4 MB, free: 4.258 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003563/0.04105, allocations: 0.5717 MB / 326 MB, free: 3.625 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.04163, allocations: 0.8768 MB / 326.9 MB, free: 2.602 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009118/0.05075, allocations: 1.289 MB / 328.2 MB, free: 1.262 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.05089, allocations: 201.7 kB / 328.4 MB, free: 1.043 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001718/0.05106, allocations: 68.55 kB / 328.4 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.05125, allocations: 143.3 kB / 328.6 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.05125, allocations: 0 / 328.6 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of Templates: time 0.009887/0.06114, allocations: 8.296 MB / 336.9 MB, free: 8.688 MB / 330.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: 2.763096542097628]