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.001572/0.001572, allocations: 84.7 kB / 20.68 MB, free: 1.023 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.001688/0.001688, allocations: 166.5 kB / 23.95 MB, free: 4.16 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.448/1.448, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.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.1688/0.1688, allocations: 29.44 MB / 290.1 MB, free: 3.277 MB / 270.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.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.272e-06/1.272e-06, allocations: 0 / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.574e-05, allocations: 2.281 kB / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.009968/0.009994, allocations: 6.768 MB / 437.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009217/0.01921, allocations: 4.849 MB / 442.3 MB, free: 6.266 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007966/0.02001, allocations: 43.62 kB / 442.4 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2371/0.2571, allocations: 6.507 MB / 448.9 MB, free: 19.6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.2594, allocations: 0.5787 MB / 449.5 MB, free: 19.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.2611, allocations: 0.5094 MB / 450 MB, free: 19.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004353/0.2654, allocations: 2.427 MB / 452.4 MB, free: 19.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.2668, allocations: 0.8552 MB / 453.3 MB, free: 19.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.2684, allocations: 0.8401 MB / 454.1 MB, free: 19.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.2694, allocations: 0.6814 MB / 454.8 MB, free: 19.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.2696, allocations: 102 kB / 454.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007665/0.2704, allocations: 312.4 kB / 455.2 MB, free: 19.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005371/0.2709, allocations: 0.5183 MB / 455.7 MB, free: 19.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005748/0.2715, allocations: 408.2 kB / 456.1 MB, free: 19.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002636/0.2741, allocations: 1.64 MB / 457.7 MB, free: 18.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2741, allocations: 3.875 kB / 457.7 MB, free: 18.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2741, allocations: 0 / 457.7 MB, free: 18.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.217e-05/0.2742, allocations: 1 kB / 457.7 MB, free: 18.86 MB / 366.1 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.003301/0.2775, allocations: 1.428 MB / 459.2 MB, free: 18.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.2775, allocations: 13.45 kB / 459.2 MB, free: 18.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008626/0.2784, allocations: 194.7 kB / 459.4 MB, free: 17.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.2802, allocations: 0.8338 MB / 460.2 MB, free: 17.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.462e-05/0.2802, allocations: 65.52 kB / 460.3 MB, free: 17.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.2805, allocations: 86.84 kB / 460.4 MB, free: 17.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.2826, allocations: 1.265 MB / 461.6 MB, free: 16.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.2827, allocations: 2.719 kB / 461.6 MB, free: 16.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/0.2828, allocations: 32.88 kB / 461.7 MB, free: 16.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002299/0.283, allocations: 86.42 kB / 461.7 MB, free: 16.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.2847, allocations: 1.002 MB / 462.7 MB, free: 16.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006127/0.2908, allocations: 4.398 MB / 467.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009097/0.2917, allocations: 0.5399 MB / 467.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000578/0.2923, allocations: 332.1 kB / 468 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.615e-05/0.2924, allocations: 8.672 kB / 468 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007522/0.2931, allocations: 460.2 kB / 468.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.554e-06/0.2931, allocations: 3.938 kB / 468.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004912/0.298, allocations: 2.355 MB / 470.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.2981, allocations: 116.3 kB / 470.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.2992, allocations: 0.7104 MB / 471.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.2992, allocations: 36.55 kB / 471.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.2995, allocations: 0.5193 MB / 472.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.2997, allocations: 245.8 kB / 472.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.3, allocations: 183 kB / 472.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3001, allocations: 398.9 kB / 473 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006178/0.3008, allocations: 375.5 kB / 473.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007393/0.3015, allocations: 0.6831 MB / 474.1 MB, free: 9.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.3028, allocations: 1.057 MB / 475.1 MB, free: 8.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3028, allocations: 1.938 kB / 475.1 MB, free: 8.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002879/0.3057, allocations: 1.528 MB / 476.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.3057, allocations: 11.25 kB / 476.7 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.3057, allocations: 13.22 kB / 476.7 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.3072, allocations: 491.6 kB / 477.2 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.3078, allocations: 170.2 kB / 477.3 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008036/0.3158, allocations: 6.759 MB / 484.1 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009537/0.3168, allocations: 40.03 kB / 484.1 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.223e-05/0.3169, allocations: 48.86 kB / 484.2 MB, free: 2.656 MB / 366.1 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.0006263/0.3175, allocations: 353.2 kB / 484.5 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.3176, allocations: 87.38 kB / 484.6 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.3192, allocations: 0.9578 MB / 485.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3192, allocations: 11.98 kB / 485.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3192, allocations: 4 kB / 485.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.3193, allocations: 0 / 485.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/0.3224, allocations: 1.76 MB / 487.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.3224, allocations: 4 kB / 487.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007719/0.3232, allocations: 123.4 kB / 487.5 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005633/0.3237, allocations: 161.8 kB / 487.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.48e-05/0.3238, allocations: 24.05 kB / 487.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004499/0.3283, allocations: 4.41 MB / 492 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3283, allocations: 0 / 492 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002602/0.3309, allocations: 1.376 MB / 493.4 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004392/0.3313, allocations: 139.4 kB / 493.6 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.3315, allocations: 27.98 kB / 493.6 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/0.3319, allocations: 23.98 kB / 493.6 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.3321, allocations: 63.14 kB / 493.7 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.925e-05/0.3321, allocations: 27.98 kB / 493.7 MB, free: 8.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007702/0.3329, allocations: 479 kB / 494.2 MB, free: 8.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3329, allocations: 0 / 494.2 MB, free: 8.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001444/0.3343, allocations: 283.9 kB / 494.4 MB, free: 8.047 MB / 382.1 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.002015/0.3364, allocations: 0.5081 MB / 495 MB, free: 7.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00311/0.3395, allocations: 1.273 MB / 496.2 MB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.3395, allocations: 0 / 496.2 MB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001494/0.341, allocations: 0.7646 MB / 497 MB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.3423, allocations: 201.9 kB / 497.2 MB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004449/0.3467, allocations: 2.386 MB / 499.6 MB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/0.3473, allocations: 0.545 MB / 0.4884 GB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006175/0.348, allocations: 218.9 kB / 0.4886 GB, free: 2.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.3482, allocations: 72.42 kB / 0.4887 GB, free: 2.227 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3482, allocations: 0 / 0.4887 GB, free: 2.227 MB / 382.1 MB Notification: Performance of Templates: time 0.02793/0.3761, allocations: 14.04 MB / 0.5024 GB, free: 4.434 MB / 398.1 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: 5.2578455954790115]