Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.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.002385/0.002385, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002802/0.002802, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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.563/1.563, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3197/0.3197, allocations: 29.41 MB / 290.5 MB, free: 2.414 MB / 266.7 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.ASM_Y_D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asm_Y_D.motor.slip|frictTorq.flange.tau|frictTorq.w|loadInertia.flange_a.tau|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asm_Y_D.motor.slip|frictTorq.flange.tau|frictTorq.w|loadInertia.flange_a.tau|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.387e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.01344/0.01348, allocations: 5.808 MB / 374.7 MB, free: 5.469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01406/0.02753, allocations: 4.269 MB / 379 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006904/0.02822, allocations: 27.75 kB / 379 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02205/0.05027, allocations: 5.543 MB / 384.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.05255, allocations: 461.4 kB / 385 MB, free: 11.15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.05401, allocations: 287.4 kB / 385.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005267/0.05927, allocations: 1.836 MB / 387.1 MB, free: 9.027 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.06087, allocations: 0.6496 MB / 387.7 MB, free: 8.375 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.06266, allocations: 0.6391 MB / 388.4 MB, free: 7.734 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.0642, allocations: 490.7 kB / 388.9 MB, free: 7.254 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002379/0.06444, allocations: 72 kB / 388.9 MB, free: 7.184 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006257/0.06506, allocations: 139.8 kB / 389.1 MB, free: 7.047 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007157/0.06578, allocations: 359.1 kB / 389.4 MB, free: 6.695 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007201/0.0665, allocations: 279.4 kB / 389.7 MB, free: 6.422 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.06893, allocations: 1.052 MB / 390.7 MB, free: 5.367 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.202e-05/0.06894, allocations: 4 kB / 390.7 MB, free: 5.363 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.06894, allocations: 4 kB / 390.8 MB, free: 5.359 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.648e-05/0.06897, allocations: 0 / 390.8 MB, free: 5.359 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.003782/0.07275, allocations: 1.138 MB / 391.9 MB, free: 4.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.886e-05/0.07282, allocations: 11.98 kB / 391.9 MB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009627/0.07378, allocations: 160.4 kB / 392.1 MB, free: 4.012 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.07613, allocations: 0.5735 MB / 392.6 MB, free: 3.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004246/0.07656, allocations: 83.31 kB / 392.7 MB, free: 3.324 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002374/0.07679, allocations: 59.98 kB / 392.8 MB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.0791, allocations: 0.6752 MB / 393.4 MB, free: 2.535 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.241e-05/0.07915, allocations: 7.953 kB / 393.5 MB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.07926, allocations: 20 kB / 393.5 MB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002527/0.07951, allocations: 53.28 kB / 393.5 MB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.08106, allocations: 390.5 kB / 393.9 MB, free: 2.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008448/0.08951, allocations: 2.978 MB / 396.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.09086, allocations: 332.5 kB / 397.2 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/0.09139, allocations: 157.7 kB / 397.4 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.844e-05/0.09145, allocations: 8.656 kB / 397.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008871/0.09233, allocations: 315.5 kB / 397.7 MB, free: 14.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.136e-06/0.09234, allocations: 0 / 397.7 MB, free: 14.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.003146/0.09548, allocations: 1.35 MB / 399 MB, free: 12.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.0956, allocations: 132.5 kB / 399.2 MB, free: 12.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009173/0.09652, allocations: 0.5415 MB / 399.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.865e-05/0.09658, allocations: 37.7 kB / 399.7 MB, free: 11.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.09697, allocations: 411.3 kB / 400.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.09717, allocations: 182.6 kB / 400.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.09741, allocations: 140 kB / 400.5 MB, free: 11.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003814/0.09779, allocations: 0.5781 MB / 401 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.0981, allocations: 146.9 kB / 401.2 MB, free: 10.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005434/0.09865, allocations: 393.7 kB / 401.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002855/0.1015, allocations: 1.011 MB / 402.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.1015, allocations: 4 kB / 402.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001761/0.1033, allocations: 0.753 MB / 403.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.131e-05/0.1033, allocations: 29.7 kB / 403.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.1033, allocations: 12.3 kB / 403.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.1045, allocations: 281.9 kB / 403.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.1055, allocations: 175.7 kB / 403.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007115/0.1127, allocations: 5.007 MB / 408.8 MB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.113, allocations: 27.94 kB / 408.9 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.113, allocations: 24 kB / 408.9 MB, free: 2.273 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.asm_Y_D.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (system.initime,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,relay1.y,$PRE.relay1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0003843/0.1134, allocations: 262.1 kB / 409.1 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.1135, allocations: 63.72 kB / 409.2 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.1146, allocations: 0.5237 MB / 409.7 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.1147, allocations: 11.98 kB / 409.7 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1147, allocations: 0 / 409.7 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1147, allocations: 4 kB / 409.7 MB, free: 1.363 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.1171, allocations: 1.27 MB / 411 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.1171, allocations: 4.094 kB / 411 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/0.1185, allocations: 187.8 kB / 411.2 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002402/0.1187, allocations: 78.95 kB / 411.3 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/0.1188, allocations: 16 kB / 411.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004501/0.1233, allocations: 5.254 MB / 416.5 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1233, allocations: 3.938 kB / 416.5 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.1247, allocations: 0.8563 MB / 417.4 MB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.125, allocations: 91.67 kB / 417.5 MB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.307e-05/0.125, allocations: 15.94 kB / 417.5 MB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.1253, allocations: 16.06 kB / 417.5 MB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.903e-05/0.1254, allocations: 35.94 kB / 417.6 MB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.1254, allocations: 19.98 kB / 417.6 MB, free: 8.996 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003942/0.1258, allocations: 331 kB / 417.9 MB, free: 8.676 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1258, allocations: 0 / 417.9 MB, free: 8.676 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006863/0.1265, allocations: 160 kB / 418.1 MB, free: 8.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asm_Y_D.motor.i[3],asm_Y_D.motor.psi_s[1],asm_Y_D.motor.psi_s[2],asm_Y_D.motor.psi_rd[1],asm_Y_D.motor.psi_rq[1],loadInertia.w,frictTorq.phi) * Number of discrete variables: 4 ($whenCondition1,relay1.y,relay1.cnt,system.initime) * Number of discrete states: 3 (relay1.y,relay1.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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,1,100.0%), (1,1,100.0%), (1,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.0001607/0.1267, allocations: 111.2 kB / 418.2 MB, free: 8.402 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001893/0.1286, allocations: 1.017 MB / 419.2 MB, free: 7.324 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1286, allocations: 0 / 419.2 MB, free: 7.324 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009749/0.1295, allocations: 0.7763 MB / 420 MB, free: 6.473 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006698/0.1302, allocations: 123.1 kB / 420.1 MB, free: 6.359 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.133, allocations: 1.415 MB / 421.5 MB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.1334, allocations: 369.8 kB / 421.9 MB, free: 4.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003019/0.1338, allocations: 104.5 kB / 422 MB, free: 4.398 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.1339, allocations: 40.5 kB / 422 MB, free: 4.359 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1339, allocations: 0 / 422 MB, free: 4.359 MB / 394.7 MB Notification: Performance of Templates: time 0.01647/0.1503, allocations: 7.785 MB / 429.8 MB, free: 12.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.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.263377467053942]