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.001621/0.001621, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002024/0.002024, allocations: 209 kB / 24.48 MB, free: 3.938 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.537/1.537, allocations: 230.6 MB / 258.3 MB, free: 7.75 MB / 206.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.2077/0.2077, allocations: 38.56 MB / 353.2 MB, free: 12.39 MB / 286.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 59.91 kB / 493.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2886, allocations: 62.47 MB / 0.5432 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.009482/0.2981, allocations: 6.782 MB / 0.5498 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008966/0.307, allocations: 4.853 MB / 0.5545 GB, free: 7.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000771/0.3078, allocations: 38.84 kB / 0.5546 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01315/0.321, allocations: 6.48 MB / 0.5609 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.3227, allocations: 0.5559 MB / 0.5614 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.3242, allocations: 0.5067 MB / 0.5619 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003584/0.3278, allocations: 2.386 MB / 0.5643 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.329, allocations: 0.8609 MB / 0.5651 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.33, allocations: 0.6306 MB / 0.5657 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.3312, allocations: 0.7395 MB / 0.5664 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.3314, allocations: 100 kB / 0.5665 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007036/0.3321, allocations: 303.7 kB / 0.5668 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005491/0.3327, allocations: 0.5025 MB / 0.5673 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005886/0.3332, allocations: 485.8 kB / 0.5678 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.3354, allocations: 1.615 MB / 0.5694 GB, free: 9.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3354, allocations: 4 kB / 0.5694 GB, free: 9.297 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3354, allocations: 3.938 kB / 0.5694 GB, free: 9.293 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.141e-05/0.3354, allocations: 0 / 0.5694 GB, free: 9.293 MB / 414.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.003181/0.3386, allocations: 1.43 MB / 0.5708 GB, free: 7.824 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3386, allocations: 19.98 kB / 0.5708 GB, free: 7.805 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008064/0.3394, allocations: 184.1 kB / 0.571 GB, free: 7.625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.3414, allocations: 0.8457 MB / 0.5718 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.159e-05/0.3415, allocations: 61.98 kB / 0.5718 GB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.3417, allocations: 87.95 kB / 0.5719 GB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.3437, allocations: 1.26 MB / 0.5732 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/0.3437, allocations: 3.938 kB / 0.5732 GB, free: 5.262 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.585e-05/0.3438, allocations: 39.98 kB / 0.5732 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002354/0.3441, allocations: 85.94 kB / 0.5733 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.3458, allocations: 1.003 MB / 0.5743 GB, free: 4.133 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007212/0.353, allocations: 4.401 MB / 0.5786 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.3541, allocations: 0.5424 MB / 0.5791 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006155/0.3547, allocations: 335 kB / 0.5794 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-05/0.3547, allocations: 8.5 kB / 0.5794 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007302/0.3555, allocations: 444.8 kB / 0.5798 GB, free: 14.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.435e-06/0.3555, allocations: 4 kB / 0.5798 GB, free: 14.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005101/0.3606, allocations: 2.368 MB / 0.5822 GB, free: 11.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.984e-05/0.3606, allocations: 115.4 kB / 0.5823 GB, free: 11.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.3617, allocations: 0.7151 MB / 0.583 GB, free: 10.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-05/0.3618, allocations: 41.7 kB / 0.583 GB, free: 10.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004549/0.3622, allocations: 0.5194 MB / 0.5835 GB, free: 10.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.3625, allocations: 245.9 kB / 0.5837 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002992/0.3628, allocations: 182.5 kB / 0.5839 GB, free: 9.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.363, allocations: 394.8 kB / 0.5843 GB, free: 9.535 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006395/0.3636, allocations: 369.8 kB / 0.5846 GB, free: 9.172 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009589/0.3646, allocations: 0.6829 MB / 0.5853 GB, free: 8.359 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.3662, allocations: 1.053 MB / 0.5863 GB, free: 7.184 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.3662, allocations: 11.94 kB / 0.5864 GB, free: 7.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003251/0.3695, allocations: 1.527 MB / 0.5878 GB, free: 5.633 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.3695, allocations: 8 kB / 0.5879 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.3695, allocations: 8 kB / 0.5879 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/0.3711, allocations: 498.2 kB / 0.5883 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000663/0.3718, allocations: 163.7 kB / 0.5885 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.3825, allocations: 6.77 MB / 0.5951 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007528/0.3832, allocations: 55.98 kB / 0.5952 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.272e-05/0.3833, allocations: 43.98 kB / 0.5952 GB, free: 13.89 MB / 446.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.0005842/0.3839, allocations: 354.9 kB / 0.5955 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.3841, allocations: 79.48 kB / 0.5956 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.3861, allocations: 0.965 MB / 0.5966 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.3861, allocations: 7.984 kB / 0.5966 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3861, allocations: 7.938 kB / 0.5966 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.3861, allocations: 3.984 kB / 0.5966 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003727/0.3899, allocations: 1.752 MB / 0.5983 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.3899, allocations: 0 / 0.5983 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007749/0.3906, allocations: 123.8 kB / 0.5984 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005561/0.3912, allocations: 158.4 kB / 0.5986 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.707e-05/0.3913, allocations: 23.98 kB / 0.5986 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004668/0.3959, allocations: 4.422 MB / 0.6029 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.3959, allocations: 7.969 kB / 0.6029 GB, free: 5.598 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.3985, allocations: 1.375 MB / 0.6042 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.399, allocations: 127.4 kB / 0.6044 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.3991, allocations: 31.98 kB / 0.6044 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.3995, allocations: 31.97 kB / 0.6044 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.3997, allocations: 52.34 kB / 0.6045 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/0.3998, allocations: 23.98 kB / 0.6045 GB, free: 3.922 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007628/0.4005, allocations: 487 kB / 0.605 GB, free: 3.449 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4005, allocations: 0 / 0.605 GB, free: 3.449 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001119/0.4016, allocations: 275.9 kB / 0.6052 GB, free: 3.18 MB / 446.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.001798/0.4034, allocations: 0.4911 MB / 0.6057 GB, free: 2.871 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002691/0.4061, allocations: 1.287 MB / 0.607 GB, free: 1.559 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4061, allocations: 0 / 0.607 GB, free: 1.559 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.4075, allocations: 0.7698 MB / 0.6077 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.4085, allocations: 190.8 kB / 0.6079 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004912/0.4135, allocations: 2.799 MB / 0.6106 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007073/0.4142, allocations: 0.5488 MB / 0.6112 GB, free: 13.13 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.4145, allocations: 67.42 kB / 0.6112 GB, free: 13.07 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4145, allocations: 0 / 0.6112 GB, free: 13.07 MB / 462.1 MB Notification: Performance of Templates: time 0.03356/0.448, allocations: 23.46 MB / 0.6341 GB, free: 5.633 MB / 478.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMav.mat","/var/lib/jenkins1/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: 10.64054196095094]