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.001468/0.001468, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001639/0.001639, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.372/1.372, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] 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.174/0.174, allocations: 38.52 MB / 353.2 MB, free: 12.53 MB / 286.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.91 kB / 493.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2911, allocations: 62.47 MB / 0.5432 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.007671/0.2988, allocations: 5.898 MB / 0.549 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007191/0.306, allocations: 4.538 MB / 0.5534 GB, free: 8.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005187/0.3065, allocations: 25.19 kB / 0.5534 GB, free: 8.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01058/0.3171, allocations: 5.532 MB / 0.5588 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.3185, allocations: 438 kB / 0.5593 GB, free: 4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008015/0.3193, allocations: 287.5 kB / 0.5595 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002869/0.3221, allocations: 1.812 MB / 0.5613 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009026/0.323, allocations: 0.6336 MB / 0.5619 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007264/0.3238, allocations: 490.4 kB / 0.5624 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007736/0.3245, allocations: 0.5489 MB / 0.5629 GB, free: 236 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.3247, allocations: 72 kB / 0.563 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003413/0.325, allocations: 147.8 kB / 0.5631 GB, free: 16 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003837/0.3254, allocations: 335.2 kB / 0.5635 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000454/0.3258, allocations: 398.2 kB / 0.5638 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.3271, allocations: 1.035 MB / 0.5649 GB, free: 14.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3271, allocations: 0 / 0.5649 GB, free: 14.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3271, allocations: 4 kB / 0.5649 GB, free: 14.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.3272, allocations: 0 / 0.5649 GB, free: 14.25 MB / 414.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.00203/0.3292, allocations: 0.9719 MB / 0.5658 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3292, allocations: 11.98 kB / 0.5658 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000436/0.3297, allocations: 108.4 kB / 0.5659 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.3309, allocations: 0.5476 MB / 0.5665 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.331, allocations: 75.02 kB / 0.5665 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.3311, allocations: 67.92 kB / 0.5666 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.3324, allocations: 0.8098 MB / 0.5674 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.3325, allocations: 4 kB / 0.5674 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/0.3325, allocations: 27.97 kB / 0.5674 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001386/0.3327, allocations: 57.28 kB / 0.5675 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.3337, allocations: 0.5867 MB / 0.568 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00497/0.3387, allocations: 2.847 MB / 0.5708 GB, free: 7.934 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008484/0.3395, allocations: 406.1 kB / 0.5712 GB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.3398, allocations: 202.3 kB / 0.5714 GB, free: 7.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.795e-05/0.3399, allocations: 4.656 kB / 0.5714 GB, free: 7.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005155/0.3404, allocations: 354.2 kB / 0.5717 GB, free: 6.941 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 4.448e-06/0.3404, allocations: 7.984 kB / 0.5718 GB, free: 6.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003368/0.3438, allocations: 1.665 MB / 0.5734 GB, free: 5.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.3439, allocations: 144.4 kB / 0.5735 GB, free: 5.035 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00058/0.3445, allocations: 453.8 kB / 0.5739 GB, free: 4.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.3445, allocations: 37.7 kB / 0.574 GB, free: 4.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.3448, allocations: 332.6 kB / 0.5743 GB, free: 4.207 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.345, allocations: 174.5 kB / 0.5745 GB, free: 4.035 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.3451, allocations: 118.3 kB / 0.5746 GB, free: 3.914 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002344/0.3454, allocations: 366.7 kB / 0.5749 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.3458, allocations: 225.2 kB / 0.5751 GB, free: 3.324 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005121/0.3463, allocations: 397.7 kB / 0.5755 GB, free: 2.871 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002918/0.3492, allocations: 1.252 MB / 0.5767 GB, free: 1.539 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3492, allocations: 0 / 0.5767 GB, free: 1.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001932/0.3511, allocations: 0.9633 MB / 0.5777 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.541e-05/0.3512, allocations: 36.67 kB / 0.5777 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.3512, allocations: 8 kB / 0.5777 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009687/0.3522, allocations: 309.5 kB / 0.578 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008888/0.353, allocations: 171.8 kB / 0.5782 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007363/0.3604, allocations: 5.086 MB / 0.5832 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.3608, allocations: 27.92 kB / 0.5832 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.3609, allocations: 24 kB / 0.5832 GB, free: 10.68 MB / 430.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.0004459/0.3613, allocations: 299.3 kB / 0.5835 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.158e-05/0.3614, allocations: 55.61 kB / 0.5835 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.3627, allocations: 0.6588 MB / 0.5842 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.3627, allocations: 7.938 kB / 0.5842 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3627, allocations: 4.031 kB / 0.5842 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.3627, allocations: 7.984 kB / 0.5842 GB, free: 9.609 MB / 430.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.002467/0.3652, allocations: 1.481 MB / 0.5857 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3652, allocations: 0 / 0.5857 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.3664, allocations: 195.9 kB / 0.5858 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002276/0.3666, allocations: 78.52 kB / 0.5859 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.3667, allocations: 15.94 kB / 0.5859 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003529/0.3702, allocations: 3.958 MB / 0.5898 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3702, allocations: 4.031 kB / 0.5898 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.3719, allocations: 0.9658 MB / 0.5907 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.3722, allocations: 103.6 kB / 0.5908 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.3723, allocations: 12 kB / 0.5909 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.3726, allocations: 19.98 kB / 0.5909 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.3727, allocations: 35.88 kB / 0.5909 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.3727, allocations: 19.98 kB / 0.5909 GB, free: 2.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004032/0.3731, allocations: 311.1 kB / 0.5912 GB, free: 1.949 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3731, allocations: 0 / 0.5912 GB, free: 1.949 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007269/0.3738, allocations: 160 kB / 0.5914 GB, free: 1.793 MB / 430.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.0001516/0.374, allocations: 119.2 kB / 0.5915 GB, free: 1.664 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001935/0.3759, allocations: 0.9594 MB / 0.5924 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3759, allocations: 0 / 0.5924 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009118/0.3768, allocations: 0.633 MB / 0.593 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007204/0.3776, allocations: 136.6 kB / 0.5932 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.3805, allocations: 1.74 MB / 0.5949 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006814/0.3811, allocations: 0.9839 MB / 0.5958 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.3813, allocations: 39.44 kB / 0.5959 GB, free: 13.01 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3813, allocations: 0 / 0.5959 GB, free: 13.01 MB / 446.1 MB Notification: Performance of Templates: time 0.01969/0.401, allocations: 14.77 MB / 0.6103 GB, free: 14.26 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.mat","/var/lib/jenkins1/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: 8.739826498087496]