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.001203/0.001203, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001815/0.003018, allocations: 449.7 kB / 10.37 MB, free: 328 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.001303/0.001303, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001674/0.002977, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9826/0.9826, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08985/1.072, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1246/0.1246, allocations: 29.44 MB / 273.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1389/0.2635, allocations: 9.53 MB / 283 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="asm.motor.slip|power.p.[0-9,]+.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1200,variableFilter="asm.motor.slip|power.p.[0-9,]+.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 284.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.167e-05, allocations: 3.078 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.0139/0.01392, allocations: 6.798 MB / 291 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0173/0.03122, allocations: 5.15 MB / 296.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008523/0.03207, allocations: 43.25 kB / 296.2 MB, free: 2.719 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01226/0.04433, allocations: 6.002 MB / 302.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.04593, allocations: 0.5864 MB / 302.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.04726, allocations: 0.5026 MB / 303.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002344/0.0496, allocations: 2.36 MB / 305.7 MB, free: 9.328 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000983/0.05058, allocations: 0.8555 MB / 306.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.05181, allocations: 0.9227 MB / 307.5 MB, free: 7.531 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008319/0.05265, allocations: 0.6584 MB / 308.1 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.05282, allocations: 100 kB / 308.2 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006304/0.05346, allocations: 315.5 kB / 308.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003142/0.05377, allocations: 470.9 kB / 309 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003063/0.05408, allocations: 339.3 kB / 309.3 MB, free: 5.672 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.05513, allocations: 1.02 MB / 310.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.391e-05/0.05514, allocations: 0 / 310.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.05515, allocations: 0 / 310.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.324e-05/0.05519, allocations: 0 / 310.3 MB, free: 4.648 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.002015/0.0572, allocations: 1.577 MB / 311.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.05724, allocations: 12.03 kB / 311.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005441/0.05778, allocations: 273.8 kB / 312.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009563/0.05874, allocations: 0.7176 MB / 312.9 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.05878, allocations: 61.98 kB / 313 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.05888, allocations: 91.94 kB / 313.1 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007457/0.05963, allocations: 0.7708 MB / 313.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.05965, allocations: 3.938 kB / 313.8 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.0597, allocations: 31.98 kB / 313.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.05982, allocations: 89.94 kB / 314 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004555/0.06027, allocations: 332.4 kB / 314.3 MB, free: 0.543 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003444/0.06372, allocations: 3.653 MB / 317.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.06407, allocations: 328.3 kB / 318.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.06423, allocations: 123.2 kB / 318.4 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.06427, allocations: 12.5 kB / 318.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.06455, allocations: 267.5 kB / 318.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 1.753e-06/0.06455, allocations: 0 / 318.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.001779/0.06633, allocations: 1.103 MB / 319.7 MB, free: 10.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.06637, allocations: 93.7 kB / 319.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.06678, allocations: 0.6222 MB / 320.5 MB, free: 10.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.06682, allocations: 41.7 kB / 320.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.067, allocations: 441.1 kB / 320.9 MB, free: 9.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.06713, allocations: 245.9 kB / 321.2 MB, free: 9.348 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.06729, allocations: 174.5 kB / 321.3 MB, free: 9.172 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.0674, allocations: 402.6 kB / 321.7 MB, free: 8.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.06755, allocations: 104.8 kB / 321.8 MB, free: 8.664 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.06781, allocations: 419.3 kB / 322.2 MB, free: 8.121 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/0.06829, allocations: 0.5701 MB / 322.8 MB, free: 7.426 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.0683, allocations: 7.938 kB / 322.8 MB, free: 7.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001035/0.06933, allocations: 0.7952 MB / 323.6 MB, free: 6.605 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.06935, allocations: 8 kB / 323.6 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.06936, allocations: 8 kB / 323.6 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008699/0.07023, allocations: 407.4 kB / 324 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.07061, allocations: 179.7 kB / 324.2 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004055/0.07467, allocations: 4.197 MB / 328.4 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/0.07503, allocations: 39.94 kB / 328.4 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.07508, allocations: 32 kB / 328.5 MB, free: 1.559 MB / 314.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.0002278/0.0753, allocations: 172.4 kB / 328.6 MB, free: 1.379 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.353e-05/0.07539, allocations: 75.86 kB / 328.7 MB, free: 1.305 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006041/0.07599, allocations: 489 kB / 329.2 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.076, allocations: 11.98 kB / 329.2 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.076, allocations: 4 kB / 329.2 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.07601, allocations: 0 / 329.2 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.07732, allocations: 1.028 MB / 330.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.07732, allocations: 8.031 kB / 330.2 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004048/0.07772, allocations: 151.7 kB / 330.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.07786, allocations: 107.3 kB / 330.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002571/0.07812, allocations: 118.9 kB / 330.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.07816, allocations: 23.98 kB / 330.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.08031, allocations: 3.794 MB / 334.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.08031, allocations: 4 kB / 334.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007699/0.08108, allocations: 0.7252 MB / 335.2 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.19e-05/0.08117, allocations: 23.98 kB / 335.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.08135, allocations: 16 kB / 335.2 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.08145, allocations: 52.34 kB / 335.3 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.08147, allocations: 15.98 kB / 335.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002195/0.08169, allocations: 264.5 kB / 335.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.08169, allocations: 0 / 335.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007193/0.08241, allocations: 283.9 kB / 335.8 MB, free: 9.797 MB / 330.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.001342/0.08375, allocations: 0.6534 MB / 336.5 MB, free: 9.488 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.08481, allocations: 0.851 MB / 337.3 MB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.386e-05/0.08483, allocations: 16.94 kB / 337.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.08533, allocations: 0.6012 MB / 337.9 MB, free: 7.953 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.0859, allocations: 265.9 kB / 338.2 MB, free: 7.699 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.09722, allocations: 1.935 MB / 340.1 MB, free: 5.715 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.09745, allocations: 280.6 kB / 340.4 MB, free: 5.422 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003732/0.09783, allocations: 115 kB / 340.5 MB, free: 5.305 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.09814, allocations: 221.2 kB / 340.7 MB, free: 5.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.352e-06/0.09814, allocations: 0 / 340.7 MB, free: 5.09 MB / 330.7 MB Notification: Performance of Templates: time 0.02299/0.1211, allocations: 15.35 MB / 356.1 MB, free: 5.934 MB / 346.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMav.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2040072670206428]