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.001304/0.001304, allocations: 70.89 kB / 21.24 MB, free: 0.5469 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.001514/0.001514, allocations: 161.8 kB / 24.5 MB, free: 3.715 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.499/1.499, allocations: 177.2 MB / 204.9 MB, free: 9.023 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.1791/0.1791, allocations: 29.43 MB / 290.7 MB, free: 3.281 MB / 270.1 MB " [Timeout remaining time 179] 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.002116/0.002116, allocations: 59.91 kB / 431.2 MB, free: 3.227 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3505, allocations: 62.45 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.006587/0.3571, allocations: 6.777 MB / 0.4887 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006126/0.3632, allocations: 4.864 MB / 0.4934 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006728/0.3639, allocations: 45.62 kB / 0.4935 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01033/0.3742, allocations: 6.513 MB / 0.4998 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.3756, allocations: 0.5448 MB / 0.5004 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.3769, allocations: 0.5117 MB / 0.5009 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003352/0.3803, allocations: 2.394 MB / 0.5032 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.3814, allocations: 0.8523 MB / 0.504 GB, free: 26.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009011/0.3823, allocations: 0.6334 MB / 0.5047 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008227/0.3831, allocations: 0.7467 MB / 0.5054 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.3833, allocations: 101.8 kB / 0.5055 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006303/0.3839, allocations: 307.5 kB / 0.5058 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003608/0.3843, allocations: 0.4909 MB / 0.5063 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004838/0.3847, allocations: 492.1 kB / 0.5067 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.3863, allocations: 1.61 MB / 0.5083 GB, free: 24.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3863, allocations: 0 / 0.5083 GB, free: 24.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3863, allocations: 4 kB / 0.5083 GB, free: 24.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.3863, allocations: 2.812 kB / 0.5083 GB, free: 24.82 MB / 446.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.002544/0.3889, allocations: 1.439 MB / 0.5097 GB, free: 23.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.3889, allocations: 13.61 kB / 0.5097 GB, free: 23.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007126/0.3896, allocations: 187 kB / 0.5099 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.3913, allocations: 0.8429 MB / 0.5107 GB, free: 23.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.25e-05/0.3914, allocations: 62.89 kB / 0.5108 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.3916, allocations: 92.58 kB / 0.5109 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.3934, allocations: 1.257 MB / 0.5121 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.3934, allocations: 6.812 kB / 0.5121 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.413e-05/0.3935, allocations: 36.56 kB / 0.5122 GB, free: 22.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002389/0.3937, allocations: 86.83 kB / 0.5122 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.3952, allocations: 1.007 MB / 0.5132 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005835/0.4011, allocations: 4.402 MB / 0.5175 GB, free: 19.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009058/0.402, allocations: 0.5455 MB / 0.518 GB, free: 19.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005302/0.4025, allocations: 331.5 kB / 0.5184 GB, free: 18.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.046e-05/0.4026, allocations: 9.172 kB / 0.5184 GB, free: 18.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006428/0.4032, allocations: 447.8 kB / 0.5188 GB, free: 18.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=62): time 2.284e-06/0.4032, allocations: 0 / 0.5188 GB, free: 18.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=65): time 0.004336/0.4075, allocations: 2.36 MB / 0.5211 GB, free: 17.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.4076, allocations: 114.3 kB / 0.5212 GB, free: 17.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008648/0.4085, allocations: 0.7223 MB / 0.5219 GB, free: 17.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.4085, allocations: 36.58 kB / 0.522 GB, free: 17.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.4088, allocations: 0.5184 MB / 0.5225 GB, free: 16.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.4089, allocations: 246.3 kB / 0.5227 GB, free: 16.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.4092, allocations: 182.9 kB / 0.5229 GB, free: 16.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4093, allocations: 396.6 kB / 0.5232 GB, free: 16.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005433/0.4098, allocations: 375.5 kB / 0.5236 GB, free: 15.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/0.4105, allocations: 0.6756 MB / 0.5243 GB, free: 15.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.4117, allocations: 1.055 MB / 0.5253 GB, free: 14.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.4117, allocations: 3.375 kB / 0.5253 GB, free: 14.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002802/0.4145, allocations: 1.531 MB / 0.5268 GB, free: 14.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4145, allocations: 9.344 kB / 0.5268 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.4145, allocations: 9.406 kB / 0.5268 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/0.416, allocations: 490.4 kB / 0.5273 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006193/0.4166, allocations: 169.8 kB / 0.5274 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008667/0.4252, allocations: 6.763 MB / 0.534 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008633/0.4261, allocations: 51.69 kB / 0.5341 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.703e-05/0.4262, allocations: 44.77 kB / 0.5341 GB, free: 9.605 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.0005482/0.4267, allocations: 353.4 kB / 0.5345 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.4269, allocations: 87.02 kB / 0.5346 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.4287, allocations: 0.9558 MB / 0.5355 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.4287, allocations: 6.5 kB / 0.5355 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.4287, allocations: 6.469 kB / 0.5355 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.4287, allocations: 4.359 kB / 0.5355 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003248/0.4319, allocations: 1.757 MB / 0.5372 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-05/0.432, allocations: 2.094 kB / 0.5372 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007492/0.4327, allocations: 125 kB / 0.5373 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005386/0.4333, allocations: 155.9 kB / 0.5375 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/0.4333, allocations: 24.84 kB / 0.5375 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003558/0.4369, allocations: 4.425 MB / 0.5418 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4369, allocations: 10.17 kB / 0.5418 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002602/0.4395, allocations: 1.367 MB / 0.5432 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004733/0.44, allocations: 136.6 kB / 0.5433 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.4401, allocations: 21.23 kB / 0.5433 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.4405, allocations: 34.64 kB / 0.5434 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.4407, allocations: 57.88 kB / 0.5434 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/0.4407, allocations: 23.09 kB / 0.5434 GB, free: 3.246 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007701/0.4415, allocations: 486.4 kB / 0.5439 GB, free: 3.039 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4415, allocations: 1.312 kB / 0.5439 GB, free: 3.039 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00175/0.4433, allocations: 280.1 kB / 0.5442 GB, free: 3 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.001691/0.445, allocations: 0.4899 MB / 0.5447 GB, free: 2.781 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002712/0.4477, allocations: 1.289 MB / 0.5459 GB, free: 2.051 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.4477, allocations: 5.469 kB / 0.5459 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.4489, allocations: 0.7609 MB / 0.5467 GB, free: 1.496 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.4501, allocations: 195.2 kB / 0.5468 GB, free: 1.391 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/0.4547, allocations: 2.69 MB / 0.5495 GB, free: 15.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007194/0.4554, allocations: 0.545 MB / 0.55 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007232/0.4561, allocations: 234.8 kB / 0.5502 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.4563, allocations: 68.48 kB / 0.5503 GB, free: 14.61 MB / 462.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4563, allocations: 0 / 0.5503 GB, free: 14.61 MB / 462.1 MB Notification: Performance of Templates: time 0.02895/0.4853, allocations: 14.07 MB / 0.564 GB, free: 0.7344 MB / 462.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 -s ida -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: 6.948242018930614]