Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.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.0009451/0.0009451, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004113/0.004113, allocations: 163.3 kB / 24.7 MB, free: 9.43 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 0.8301/0.8301, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 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.2118/0.2118, allocations: 29.41 MB / 290.8 MB, free: 2.418 MB / 266.7 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.ASMav,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1200,variableFilter="Time|asm.motor.slip|power.p.1.|power.p.2.|power.p.3.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1200,variableFilter="Time|asm.motor.slip|power.p.1.|power.p.2.|power.p.3.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.221e-05, allocations: 2.281 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.006372/0.006394, allocations: 6.757 MB / 438.2 MB, free: 6.277 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006418/0.01281, allocations: 4.858 MB / 443.1 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004588/0.01327, allocations: 39.69 kB / 443.1 MB, free: 1.367 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1515/0.1647, allocations: 6.519 MB / 449.7 MB, free: 44.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.1658, allocations: 0.5775 MB / 450.2 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006927/0.1664, allocations: 0.5208 MB / 450.7 MB, free: 44.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.1677, allocations: 2.427 MB / 453.2 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005291/0.1682, allocations: 0.8594 MB / 454 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004954/0.1687, allocations: 0.8328 MB / 454.9 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/0.1692, allocations: 0.6872 MB / 455.6 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.196e-05/0.1693, allocations: 102.7 kB / 455.7 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002832/0.1695, allocations: 302.8 kB / 456 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.1697, allocations: 0.5231 MB / 456.5 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.17, allocations: 403.3 kB / 456.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008878/0.1709, allocations: 1.64 MB / 458.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.1709, allocations: 0 / 458.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1709, allocations: 0 / 458.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.1709, allocations: 7.156 kB / 458.5 MB, free: 42.57 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.001491/0.1724, allocations: 1.423 MB / 459.9 MB, free: 41.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.1724, allocations: 20.92 kB / 460 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004152/0.1728, allocations: 189.9 kB / 460.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008447/0.1736, allocations: 0.8328 MB / 461 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.1737, allocations: 61.28 kB / 461 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.785e-05/0.1738, allocations: 88.06 kB / 461.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009017/0.1747, allocations: 1.264 MB / 462.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.1747, allocations: 6.625 kB / 462.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.1747, allocations: 33.06 kB / 462.4 MB, free: 40.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.1748, allocations: 92.25 kB / 462.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008261/0.1757, allocations: 0.9981 MB / 463.5 MB, free: 40.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/0.1785, allocations: 4.4 MB / 467.9 MB, free: 37.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004894/0.1789, allocations: 0.5349 MB / 468.4 MB, free: 37.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.1792, allocations: 328.3 kB / 468.8 MB, free: 36.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.1793, allocations: 14.11 kB / 468.8 MB, free: 36.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003459/0.1796, allocations: 447.9 kB / 469.2 MB, free: 36.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 1.643e-06/0.1796, allocations: 0 / 469.2 MB, free: 36.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.002266/0.1819, allocations: 2.356 MB / 471.6 MB, free: 35.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.1819, allocations: 113.9 kB / 471.7 MB, free: 35.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/0.1823, allocations: 0.7141 MB / 472.4 MB, free: 35.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.1824, allocations: 44.67 kB / 472.4 MB, free: 35.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.1825, allocations: 0.512 MB / 473 MB, free: 34.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.417e-05/0.1826, allocations: 258.9 kB / 473.2 MB, free: 34.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.1827, allocations: 174.7 kB / 473.4 MB, free: 34.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.845e-05/0.1828, allocations: 402.6 kB / 473.8 MB, free: 34.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.1831, allocations: 373.1 kB / 474.1 MB, free: 33.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.1834, allocations: 0.6795 MB / 474.8 MB, free: 33.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006815/0.1841, allocations: 1.053 MB / 475.9 MB, free: 32.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1841, allocations: 3 kB / 475.9 MB, free: 32.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001433/0.1856, allocations: 1.534 MB / 477.4 MB, free: 32.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1856, allocations: 12.75 kB / 477.4 MB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.1856, allocations: 13.84 kB / 477.4 MB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007192/0.1863, allocations: 492.2 kB / 477.9 MB, free: 32.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.1866, allocations: 168.3 kB / 478.1 MB, free: 32.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004828/0.1914, allocations: 6.757 MB / 484.8 MB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.1917, allocations: 56.42 kB / 484.9 MB, free: 27.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.1917, allocations: 38.91 kB / 484.9 MB, free: 27.78 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0002824/0.192, allocations: 353.4 kB / 485.3 MB, free: 27.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/0.1921, allocations: 85.64 kB / 485.4 MB, free: 27.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.1931, allocations: 0.9631 MB / 486.3 MB, free: 27.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.1931, allocations: 6.75 kB / 486.3 MB, free: 27.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1931, allocations: 2.406 kB / 486.3 MB, free: 27.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.1931, allocations: 4.812 kB / 486.3 MB, free: 27.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.1949, allocations: 1.747 MB / 488.1 MB, free: 26.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1949, allocations: 8.906 kB / 488.1 MB, free: 26.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.1953, allocations: 122 kB / 488.2 MB, free: 26.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002719/0.1956, allocations: 165.7 kB / 488.4 MB, free: 26.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.1956, allocations: 28.67 kB / 488.4 MB, free: 26.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/0.1973, allocations: 4.396 MB / 492.8 MB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1973, allocations: 5.531 kB / 492.8 MB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.1986, allocations: 1.382 MB / 494.2 MB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.1988, allocations: 135.8 kB / 494.3 MB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.574e-05/0.1989, allocations: 22.67 kB / 494.3 MB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.1991, allocations: 31.67 kB / 494.4 MB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.125e-05/0.1992, allocations: 64.08 kB / 494.4 MB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.1992, allocations: 23.39 kB / 494.5 MB, free: 21.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003572/0.1995, allocations: 482.3 kB / 494.9 MB, free: 21.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1995, allocations: 0 / 494.9 MB, free: 21.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006113/0.2002, allocations: 280.7 kB / 495.2 MB, free: 21.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * 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,3,100.0%), (2,1,100.0%), (2,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.000737/0.2009, allocations: 0.5036 MB / 495.7 MB, free: 21.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.2023, allocations: 1.278 MB / 497 MB, free: 20.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2023, allocations: 0 / 497 MB, free: 20.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005998/0.2029, allocations: 0.7683 MB / 497.8 MB, free: 20.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006891/0.2036, allocations: 200 kB / 497.9 MB, free: 19.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.2065, allocations: 2.457 MB / 0.4887 GB, free: 18.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.207, allocations: 0.5457 MB / 0.4892 GB, free: 18.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.2071, allocations: 80.66 kB / 0.4893 GB, free: 18.45 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2071, allocations: 0.9375 kB / 0.4893 GB, free: 18.45 MB / 410.7 MB Notification: Performance of Templates: time 0.0148/0.2219, allocations: 23.64 MB / 0.5124 GB, free: 3.422 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMav.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.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: 6.275240149348974]