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.001069/0.001069, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001242/0.001242, allocations: 170.8 kB / 24.82 MB, free: 9.262 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 1.114/1.114, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.3146/0.3146, allocations: 29.42 MB / 291.2 MB, free: 2.465 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[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="Time|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 2.545e-06/2.545e-06, allocations: 3.938 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.412e-05, allocations: 5.406 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.007483/0.007507, allocations: 6.671 MB / 376.8 MB, free: 4.027 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007195/0.0147, allocations: 5.02 MB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006802/0.01538, allocations: 39.69 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01015/0.02554, allocations: 6.588 MB / 388.4 MB, free: 8.348 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.02691, allocations: 0.567 MB / 389 MB, free: 7.777 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.02823, allocations: 0.5182 MB / 389.5 MB, free: 7.258 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00267/0.0309, allocations: 2.436 MB / 392 MB, free: 4.816 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.03231, allocations: 0.8884 MB / 392.8 MB, free: 3.918 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.0335, allocations: 0.8689 MB / 393.7 MB, free: 3.047 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008357/0.03434, allocations: 0.6817 MB / 394.4 MB, free: 2.363 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.03448, allocations: 100 kB / 394.5 MB, free: 2.266 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005946/0.03508, allocations: 307.5 kB / 394.8 MB, free: 1.965 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003566/0.03543, allocations: 0.5143 MB / 395.3 MB, free: 1.449 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000397/0.03583, allocations: 407.1 kB / 395.7 MB, free: 1.051 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.03718, allocations: 1.106 MB / 396.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.03718, allocations: 4 kB / 396.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.03718, allocations: 0 / 396.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.876e-05/0.03721, allocations: 0 / 396.8 MB, free: 15.93 MB / 378.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.00205/0.03926, allocations: 1.487 MB / 398.3 MB, free: 14.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.03931, allocations: 11.98 kB / 398.3 MB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006046/0.03992, allocations: 244 kB / 398.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.04097, allocations: 0.8258 MB / 399.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.04102, allocations: 65.98 kB / 399.4 MB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.04114, allocations: 83.98 kB / 399.5 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.04232, allocations: 0.8105 MB / 400.3 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.04234, allocations: 11.88 kB / 400.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/0.0424, allocations: 32 kB / 400.4 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/0.04252, allocations: 85.95 kB / 400.5 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.04298, allocations: 369.4 kB / 400.8 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003988/0.04697, allocations: 4.824 MB / 405.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.04742, allocations: 312.5 kB / 406 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.04763, allocations: 148.8 kB / 406.1 MB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.846e-05/0.04768, allocations: 16.5 kB / 406.1 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003526/0.04803, allocations: 280 kB / 406.4 MB, free: 5.934 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 1.713e-06/0.04803, allocations: 0 / 406.4 MB, free: 5.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002441/0.05047, allocations: 1.212 MB / 407.6 MB, free: 4.676 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.05053, allocations: 115.5 kB / 407.7 MB, free: 4.539 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005253/0.05106, allocations: 0.6979 MB / 408.4 MB, free: 3.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.0511, allocations: 37.7 kB / 408.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.05142, allocations: 0.5767 MB / 409 MB, free: 3.195 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.05157, allocations: 257.8 kB / 409.3 MB, free: 2.941 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.05177, allocations: 196.1 kB / 409.5 MB, free: 2.742 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.05199, allocations: 0.5897 MB / 410.1 MB, free: 2.141 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.05214, allocations: 109.9 kB / 410.2 MB, free: 2.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.05255, allocations: 0.5578 MB / 410.7 MB, free: 1.297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005897/0.05314, allocations: 0.6947 MB / 411.4 MB, free: 448 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.05315, allocations: 0 / 411.4 MB, free: 448 kB / 378.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001284/0.05443, allocations: 0.9559 MB / 412.4 MB, free: 15.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.05446, allocations: 12 kB / 412.4 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.05447, allocations: 12.48 kB / 412.4 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008672/0.05534, allocations: 418.9 kB / 412.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.05565, allocations: 155.7 kB / 413 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005946/0.06159, allocations: 5.377 MB / 418.3 MB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.06195, allocations: 28 kB / 418.4 MB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.06201, allocations: 43.98 kB / 418.4 MB, free: 9.191 MB / 394.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.000258/0.06227, allocations: 212.3 kB / 418.6 MB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.0624, allocations: 107.4 kB / 418.7 MB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009296/0.06333, allocations: 0.5673 MB / 419.3 MB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.06334, allocations: 8 kB / 419.3 MB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.06335, allocations: 4 kB / 419.3 MB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.06336, allocations: 3.984 kB / 419.3 MB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.06522, allocations: 1.24 MB / 420.5 MB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.06523, allocations: 128 / 420.5 MB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/0.06567, allocations: 119.8 kB / 420.7 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008823/0.06655, allocations: 118.9 kB / 420.8 MB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/0.06661, allocations: 27.92 kB / 420.8 MB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00311/0.06972, allocations: 5.386 MB / 426.2 MB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.06973, allocations: 7.984 kB / 426.2 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.07121, allocations: 0.8546 MB / 427 MB, free: 44 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.07143, allocations: 123.4 kB / 427.2 MB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.94e-05/0.07151, allocations: 27.92 kB / 427.2 MB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.07175, allocations: 16 kB / 427.2 MB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.07188, allocations: 60.33 kB / 427.3 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.07191, allocations: 16 kB / 427.3 MB, free: 15.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003445/0.07225, allocations: 394.8 kB / 427.7 MB, free: 15.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07225, allocations: 0 / 427.7 MB, free: 15.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008687/0.07312, allocations: 275.9 kB / 427.9 MB, free: 15.15 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.001349/0.07447, allocations: 485.3 kB / 428.4 MB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.07593, allocations: 1.031 MB / 429.4 MB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.07593, allocations: 0 / 429.4 MB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000802/0.07673, allocations: 0.7675 MB / 430.2 MB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/0.07748, allocations: 194.7 kB / 430.4 MB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.08107, allocations: 2.156 MB / 432.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.08134, allocations: 272.7 kB / 432.8 MB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003454/0.08168, allocations: 123 kB / 432.9 MB, free: 10.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003968/0.08208, allocations: 250.1 kB / 433.2 MB, free: 9.887 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.08208, allocations: 0 / 433.2 MB, free: 9.887 MB / 410.7 MB Notification: Performance of Templates: time 0.2056/0.2876, allocations: 14.95 MB / 448.1 MB, free: 92.57 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=240 -emit_protected -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: 4.162142746150494]