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.00137/0.00137, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001454/0.001454, allocations: 163 kB / 25.6 MB, free: 8.59 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 0.9508/0.9508, allocations: 177.1 MB / 206.1 MB, free: 4.508 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.1186/0.1186, allocations: 29.43 MB / 292 MB, free: 2.711 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.044e-06/2.044e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.48e-05/3.684e-05, allocations: 2.312 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.008995/0.009032, allocations: 6.676 MB / 377.6 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00761/0.01664, allocations: 5.036 MB / 382.6 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00079/0.01743, allocations: 39.69 kB / 382.6 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008014/0.02545, allocations: 6.576 MB / 389.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.02685, allocations: 0.5787 MB / 389.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.02792, allocations: 0.5065 MB / 390.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002349/0.03027, allocations: 2.452 MB / 392.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009364/0.03121, allocations: 0.8807 MB / 393.6 MB, free: 9.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.03247, allocations: 0.865 MB / 394.5 MB, free: 8.613 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009825/0.03346, allocations: 0.6818 MB / 395.2 MB, free: 7.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002193/0.03368, allocations: 100 kB / 395.3 MB, free: 7.832 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006924/0.03437, allocations: 307.5 kB / 395.6 MB, free: 7.531 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003333/0.0347, allocations: 0.522 MB / 396.1 MB, free: 7.008 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003615/0.03506, allocations: 407.1 kB / 396.5 MB, free: 6.609 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.0364, allocations: 1.106 MB / 397.6 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.03641, allocations: 0 / 397.6 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.03641, allocations: 0 / 397.6 MB, free: 5.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.566e-05/0.03645, allocations: 0 / 397.6 MB, free: 5.5 MB / 314.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.001836/0.03828, allocations: 1.487 MB / 399.1 MB, free: 3.969 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.03832, allocations: 12.03 kB / 399.1 MB, free: 3.957 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005903/0.03891, allocations: 236 kB / 399.3 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.03994, allocations: 0.8258 MB / 400.2 MB, free: 2.875 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/0.03998, allocations: 58 kB / 400.2 MB, free: 2.816 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.04009, allocations: 95.86 kB / 400.3 MB, free: 2.723 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007149/0.0408, allocations: 0.8144 MB / 401.1 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.04083, allocations: 0 / 401.1 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.158e-05/0.04088, allocations: 35.92 kB / 401.2 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.041, allocations: 93.94 kB / 401.3 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.04146, allocations: 357.4 kB / 401.6 MB, free: 1.332 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003822/0.04529, allocations: 4.831 MB / 406.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.0457, allocations: 305.3 kB / 406.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.04591, allocations: 152.8 kB / 406.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.277e-05/0.04596, allocations: 16.5 kB / 406.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000332/0.04629, allocations: 276.1 kB / 407.2 MB, free: 11.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 2.245e-06/0.04629, allocations: 0 / 407.2 MB, free: 11.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.002113/0.0484, allocations: 1.227 MB / 408.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.04846, allocations: 115.4 kB / 408.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005569/0.04901, allocations: 0.7018 MB / 409.2 MB, free: 9.375 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.04906, allocations: 33.7 kB / 409.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/0.04941, allocations: 0.5806 MB / 409.8 MB, free: 8.746 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.04957, allocations: 257.9 kB / 410.1 MB, free: 8.492 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.04977, allocations: 192.1 kB / 410.3 MB, free: 8.297 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002431/0.05001, allocations: 0.5897 MB / 410.8 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.05019, allocations: 113.9 kB / 411 MB, free: 7.586 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.05056, allocations: 0.55 MB / 411.5 MB, free: 6.855 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/0.05116, allocations: 0.6946 MB / 412.2 MB, free: 5.996 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.05117, allocations: 4 kB / 412.2 MB, free: 5.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001322/0.05249, allocations: 0.9481 MB / 413.2 MB, free: 5.027 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.05251, allocations: 12.5 kB / 413.2 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.05253, allocations: 12 kB / 413.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009122/0.05344, allocations: 411.4 kB / 413.6 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.05377, allocations: 163.7 kB / 413.7 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004515/0.05828, allocations: 5.365 MB / 419.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.05877, allocations: 43.94 kB / 419.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.05883, allocations: 39.94 kB / 419.2 MB, free: 14.76 MB / 346.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.0003144/0.05914, allocations: 212.3 kB / 419.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.05927, allocations: 103.4 kB / 419.5 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008034/0.06007, allocations: 0.5789 MB / 420.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.06008, allocations: 8.062 kB / 420.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.06009, allocations: 4 kB / 420.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.0601, allocations: 3.984 kB / 420.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.06175, allocations: 1.236 MB / 421.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.06176, allocations: 8.125 kB / 421.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.06212, allocations: 111.9 kB / 421.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000293/0.06241, allocations: 122.9 kB / 421.6 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.785e-05/0.06246, allocations: 23.92 kB / 421.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/0.06527, allocations: 5.374 MB / 427 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.06528, allocations: 4 kB / 427 MB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.06637, allocations: 0.8585 MB / 427.8 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.06659, allocations: 127.3 kB / 427.9 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.06666, allocations: 20 kB / 428 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.06686, allocations: 19.98 kB / 428 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.06698, allocations: 52.41 kB / 428 MB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.06701, allocations: 19.98 kB / 428.1 MB, free: 5.379 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003067/0.06732, allocations: 394.8 kB / 428.4 MB, free: 5 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06732, allocations: 0 / 428.4 MB, free: 5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008396/0.06816, allocations: 279.9 kB / 428.7 MB, free: 4.727 MB / 346.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.001029/0.06919, allocations: 473.8 kB / 429.2 MB, free: 4.449 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.07059, allocations: 1.031 MB / 430.2 MB, free: 3.383 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.07059, allocations: 0 / 430.2 MB, free: 3.383 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006772/0.07127, allocations: 0.7678 MB / 431 MB, free: 2.559 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006633/0.07193, allocations: 197.9 kB / 431.2 MB, free: 2.371 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.07496, allocations: 2.171 MB / 433.3 MB, free: 148 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.07521, allocations: 276.6 kB / 433.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003325/0.07555, allocations: 119 kB / 433.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/0.07587, allocations: 250.1 kB / 434 MB, free: 15.49 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/0.07587, allocations: 0 / 434 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Templates: time 0.02076/0.09663, allocations: 15.2 MB / 449.2 MB, free: 0.5117 MB / 362.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: 3.6951043060980737]