Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001324/0.001324, 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.001505/0.001505, 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.385/1.385, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1721/0.1721, allocations: 29.43 MB / 290.1 MB, free: 3.277 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=2500,variableFilter="Time|asm_Y_D.motor.slip|frictTorq.flange.tau|frictTorq.w|loadInertia.flange_a.tau|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asm_Y_D.motor.slip|frictTorq.flange.tau|frictTorq.w|loadInertia.flange_a.tau|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.937e-05, allocations: 2.281 kB / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.007236/0.007255, allocations: 5.507 MB / 436.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006453/0.01371, allocations: 4.093 MB / 440.3 MB, free: 8.297 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002933/0.014, allocations: 31.75 kB / 440.3 MB, free: 8.266 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01047/0.02447, allocations: 5.464 MB / 445.8 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.02549, allocations: 449.5 kB / 446.2 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000681/0.02618, allocations: 291.4 kB / 446.5 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002336/0.02851, allocations: 1.828 MB / 448.4 MB, free: 240 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1855/0.214, allocations: 0.6169 MB / 449 MB, free: 20.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.2153, allocations: 0.6365 MB / 449.6 MB, free: 20.15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007978/0.2161, allocations: 480.9 kB / 450.1 MB, free: 20.15 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.2162, allocations: 74.05 kB / 450.2 MB, free: 20.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003869/0.2166, allocations: 144.5 kB / 450.3 MB, free: 20.15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003649/0.2169, allocations: 349.5 kB / 450.6 MB, free: 20.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003603/0.2173, allocations: 272 kB / 450.9 MB, free: 20.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.2186, allocations: 1.047 MB / 451.9 MB, free: 20.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2186, allocations: 6.438 kB / 452 MB, free: 20.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2186, allocations: 0 / 452 MB, free: 20.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.689e-06/0.2186, allocations: 0 / 452 MB, free: 20.14 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.00169/0.2203, allocations: 0.9644 MB / 452.9 MB, free: 19.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2204, allocations: 13.09 kB / 452.9 MB, free: 19.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004318/0.2208, allocations: 104.9 kB / 453 MB, free: 19.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.2218, allocations: 0.5543 MB / 453.6 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-05/0.2219, allocations: 84.47 kB / 453.7 MB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.2221, allocations: 59.52 kB / 453.7 MB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.2233, allocations: 0.8396 MB / 454.6 MB, free: 19.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.2233, allocations: 3.531 kB / 454.6 MB, free: 19.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.328e-05/0.2234, allocations: 24.22 kB / 454.6 MB, free: 19.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/0.2235, allocations: 55.05 kB / 454.6 MB, free: 19.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009327/0.2245, allocations: 0.6149 MB / 455.3 MB, free: 19.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0033/0.2278, allocations: 2.593 MB / 457.9 MB, free: 18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007448/0.2285, allocations: 431.8 kB / 458.3 MB, free: 17.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.2288, allocations: 238.7 kB / 458.5 MB, free: 17.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.2288, allocations: 6.312 kB / 458.5 MB, free: 17.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004337/0.2293, allocations: 372.4 kB / 458.9 MB, free: 17.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.064e-06/0.2293, allocations: 0 / 458.9 MB, free: 17.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.002778/0.232, allocations: 1.73 MB / 460.6 MB, free: 16.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.2321, allocations: 143.2 kB / 460.8 MB, free: 16.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.2326, allocations: 416.6 kB / 461.2 MB, free: 16.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.2326, allocations: 36.33 kB / 461.2 MB, free: 16.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.2328, allocations: 337.6 kB / 461.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.2329, allocations: 173.8 kB / 461.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.233, allocations: 113.9 kB / 461.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.2331, allocations: 358.7 kB / 462.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.2335, allocations: 255.2 kB / 462.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.2339, allocations: 423.2 kB / 462.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002611/0.2365, allocations: 1.261 MB / 464.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2365, allocations: 1.219 kB / 464.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00165/0.2381, allocations: 0.9866 MB / 465.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.2382, allocations: 42.05 kB / 465.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.2382, allocations: 5.344 kB / 465.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008982/0.2391, allocations: 299.3 kB / 465.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.2401, allocations: 175.7 kB / 465.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00535/0.2454, allocations: 4.982 MB / 470.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.2458, allocations: 28.47 kB / 470.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.2459, allocations: 24.61 kB / 470.6 MB, free: 10.21 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.0003746/0.2462, allocations: 301.6 kB / 470.9 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.2463, allocations: 52.31 kB / 471 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009937/0.2473, allocations: 0.6859 MB / 471.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2473, allocations: 4.094 kB / 471.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2473, allocations: 1.656 kB / 471.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.2473, allocations: 5.516 kB / 471.7 MB, free: 9.609 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.001864/0.2492, allocations: 1.325 MB / 473 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2492, allocations: 5.031 kB / 473 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.2505, allocations: 193.7 kB / 473.2 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001932/0.2507, allocations: 75.12 kB / 473.2 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.2507, allocations: 19.03 kB / 473.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/0.2525, allocations: 3.88 MB / 477.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2525, allocations: 1.469 kB / 477.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.2537, allocations: 1.015 MB / 478.2 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.2539, allocations: 97.03 kB / 478.3 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.096e-05/0.254, allocations: 19.78 kB / 478.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.2542, allocations: 18.36 kB / 478.3 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/0.2543, allocations: 34.03 kB / 478.3 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.2543, allocations: 14.19 kB / 478.3 MB, free: 4.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000261/0.2546, allocations: 291.2 kB / 478.6 MB, free: 4.293 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2546, allocations: 0 / 478.6 MB, free: 4.293 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000687/0.2553, allocations: 160.6 kB / 478.8 MB, free: 4.277 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.0001215/0.2554, allocations: 123.6 kB / 478.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.257, allocations: 1.015 MB / 479.9 MB, free: 3.598 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.257, allocations: 1.781 kB / 479.9 MB, free: 3.598 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006406/0.2576, allocations: 0.6538 MB / 480.6 MB, free: 3.094 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006517/0.2583, allocations: 121.3 kB / 480.7 MB, free: 3.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.2603, allocations: 1.525 MB / 482.2 MB, free: 2.164 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.2606, allocations: 382.3 kB / 482.6 MB, free: 2.035 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002758/0.2609, allocations: 117.3 kB / 482.7 MB, free: 2.008 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.261, allocations: 41.58 kB / 482.7 MB, free: 2 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.261, allocations: 0 / 482.7 MB, free: 2 MB / 366.1 MB Notification: Performance of Templates: time 0.01381/0.2748, allocations: 7.683 MB / 490.4 MB, free: 12.32 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8135660625994205]