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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 103.3 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 198.1 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1822/0.1822, allocations: 38.52 MB / 345 MB, free: 2.621 MB / 270.1 MB [Timeout remaining time 90] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=504,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=504,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 0.001941/0.001941, allocations: 67.91 kB / 482.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3122, allocations: 61.24 MB / 0.5309 GB, free: 5.465 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.00612/0.3183, allocations: 5.816 MB / 0.5366 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006088/0.3244, allocations: 4.466 MB / 0.541 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004393/0.3248, allocations: 16.97 kB / 0.541 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01004/0.3349, allocations: 5.08 MB / 0.546 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.3362, allocations: 442.6 kB / 0.5464 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000747/0.3369, allocations: 285.8 kB / 0.5467 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00252/0.3394, allocations: 1.751 MB / 0.5484 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008889/0.3403, allocations: 0.6295 MB / 0.549 GB, free: 9.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007212/0.3411, allocations: 484.2 kB / 0.5494 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007362/0.3418, allocations: 0.5444 MB / 0.55 GB, free: 8.672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.3419, allocations: 73.09 kB / 0.55 GB, free: 8.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.3422, allocations: 144.1 kB / 0.5502 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00035/0.3426, allocations: 339.6 kB / 0.5505 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004503/0.343, allocations: 394.7 kB / 0.5509 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.3444, allocations: 1.042 MB / 0.5519 GB, free: 7.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3444, allocations: 0 / 0.5519 GB, free: 7.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3444, allocations: 0 / 0.5519 GB, free: 7.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.3444, allocations: 0 / 0.5519 GB, free: 7.176 MB / 398.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.001999/0.3464, allocations: 1.051 MB / 0.5529 GB, free: 6.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3464, allocations: 11.89 kB / 0.5529 GB, free: 6.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004675/0.3469, allocations: 100.4 kB / 0.553 GB, free: 5.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.3482, allocations: 0.6275 MB / 0.5536 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.3483, allocations: 82.98 kB / 0.5537 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.3484, allocations: 60 kB / 0.5538 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.3497, allocations: 0.8138 MB / 0.5546 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.169e-05/0.3498, allocations: 7.953 kB / 0.5546 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.249e-05/0.3498, allocations: 20 kB / 0.5546 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/0.35, allocations: 49.28 kB / 0.5547 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009766/0.3509, allocations: 0.5906 MB / 0.5552 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004266/0.3552, allocations: 2.931 MB / 0.5581 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008324/0.356, allocations: 402 kB / 0.5585 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/0.3564, allocations: 214.3 kB / 0.5587 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.3564, allocations: 4.656 kB / 0.5587 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005319/0.357, allocations: 338.5 kB / 0.559 GB, free: 15.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 1.954e-06/0.357, allocations: 0 / 0.559 GB, free: 15.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003474/0.3604, allocations: 2.053 MB / 0.561 GB, free: 13.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.3605, allocations: 148.4 kB / 0.5612 GB, free: 13.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005485/0.3611, allocations: 445.8 kB / 0.5616 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.3611, allocations: 37.7 kB / 0.5616 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.3614, allocations: 336.6 kB / 0.5619 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.3616, allocations: 170.6 kB / 0.5621 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.3618, allocations: 114.3 kB / 0.5622 GB, free: 12.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.362, allocations: 366.8 kB / 0.5626 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.3624, allocations: 229.2 kB / 0.5628 GB, free: 11.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/0.3629, allocations: 393.7 kB / 0.5631 GB, free: 11.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/0.3658, allocations: 1.328 MB / 0.5644 GB, free: 9.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.3658, allocations: 0 / 0.5644 GB, free: 9.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001868/0.3676, allocations: 0.9552 MB / 0.5654 GB, free: 8.664 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/0.3677, allocations: 46.06 kB / 0.5654 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3677, allocations: 12 kB / 0.5654 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009316/0.3686, allocations: 304.6 kB / 0.5657 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008994/0.3695, allocations: 175.7 kB / 0.5659 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007124/0.3766, allocations: 5.297 MB / 0.5711 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/0.3771, allocations: 23.98 kB / 0.5711 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.3771, allocations: 20 kB / 0.5711 GB, free: 2.52 MB / 414.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.0004749/0.3776, allocations: 307.2 kB / 0.5714 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.902e-05/0.3777, allocations: 59.59 kB / 0.5715 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.3789, allocations: 0.7995 MB / 0.5722 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.379, allocations: 7.938 kB / 0.5722 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.379, allocations: 4 kB / 0.5722 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.379, allocations: 11.92 kB / 0.5723 GB, free: 1.266 MB / 414.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.002539/0.3815, allocations: 1.666 MB / 0.5739 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3815, allocations: 0 / 0.5739 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.3827, allocations: 191.9 kB / 0.5741 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002402/0.3829, allocations: 78.52 kB / 0.5741 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/0.3829, allocations: 19.94 kB / 0.5742 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003456/0.3864, allocations: 4.261 MB / 0.5783 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3864, allocations: 0 / 0.5783 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.388, allocations: 1.128 MB / 0.5794 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002587/0.3883, allocations: 176.7 kB / 0.5796 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.788e-05/0.3884, allocations: 15.94 kB / 0.5796 GB, free: 9.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.3886, allocations: 15.98 kB / 0.5796 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.111e-05/0.3887, allocations: 43.88 kB / 0.5797 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.3888, allocations: 16 kB / 0.5797 GB, free: 9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004049/0.3892, allocations: 315.1 kB / 0.58 GB, free: 8.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3892, allocations: 0 / 0.58 GB, free: 8.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007313/0.3899, allocations: 164 kB / 0.5801 GB, free: 8.531 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.0001705/0.3901, allocations: 123.3 kB / 0.5803 GB, free: 8.398 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.3919, allocations: 0.9521 MB / 0.5812 GB, free: 7.406 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3919, allocations: 0 / 0.5812 GB, free: 7.406 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008355/0.3927, allocations: 0.6265 MB / 0.5818 GB, free: 6.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006884/0.3934, allocations: 128.2 kB / 0.5819 GB, free: 6.609 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.3964, allocations: 1.738 MB / 0.5836 GB, free: 4.824 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006886/0.3971, allocations: 0.976 MB / 0.5846 GB, free: 3.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.3972, allocations: 47.44 kB / 0.5846 GB, free: 3.773 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3972, allocations: 0 / 0.5846 GB, free: 3.773 MB / 430.1 MB Notification: Performance of Templates: time 0.01953/0.4168, allocations: 14.75 MB / 0.599 GB, free: 5.031 MB / 446.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