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.001912/0.001912, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002234/0.002234, allocations: 165.7 kB / 24.27 MB, free: 172 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.638/1.638, allocations: 177.2 MB / 204.6 MB, free: 5.582 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.3135/0.3135, allocations: 29.41 MB / 290.5 MB, free: 2.426 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 2.184e-06/2.184e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.28e-05/3.499e-05, allocations: 5.266 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.008986/0.009021, allocations: 5.511 MB / 374.4 MB, free: 5.781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.02076, allocations: 4.086 MB / 378.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007955/0.02156, allocations: 23.81 kB / 378.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01834/0.0399, allocations: 5.531 MB / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.04199, allocations: 461.4 kB / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.0433, allocations: 287.4 kB / 384.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004504/0.0478, allocations: 1.836 MB / 386.6 MB, free: 9.539 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.04928, allocations: 0.6418 MB / 387.2 MB, free: 8.895 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.05081, allocations: 0.6352 MB / 387.9 MB, free: 8.258 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.05198, allocations: 482.7 kB / 388.4 MB, free: 7.785 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.05216, allocations: 72 kB / 388.4 MB, free: 7.715 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004883/0.05265, allocations: 143.8 kB / 388.6 MB, free: 7.574 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005785/0.05323, allocations: 351.1 kB / 388.9 MB, free: 7.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005675/0.05379, allocations: 275.4 kB / 389.2 MB, free: 6.961 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.05598, allocations: 1.048 MB / 390.2 MB, free: 5.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.05599, allocations: 0 / 390.2 MB, free: 5.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.05599, allocations: 0 / 390.2 MB, free: 5.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.056, allocations: 0 / 390.2 MB, free: 5.91 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.003061/0.05907, allocations: 0.9757 MB / 391.2 MB, free: 4.898 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.05911, allocations: 11.98 kB / 391.2 MB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007954/0.05991, allocations: 152.4 kB / 391.4 MB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.0618, allocations: 0.5824 MB / 391.9 MB, free: 4.129 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.06196, allocations: 83.31 kB / 392 MB, free: 4.043 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.06215, allocations: 63.98 kB / 392.1 MB, free: 3.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.06445, allocations: 0.8272 MB / 392.9 MB, free: 3.109 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-05/0.0645, allocations: 19.88 kB / 392.9 MB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.06461, allocations: 23.98 kB / 393 MB, free: 3.066 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002144/0.06482, allocations: 49.28 kB / 393 MB, free: 3.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.06658, allocations: 0.6118 MB / 393.6 MB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006627/0.07321, allocations: 2.606 MB / 396.2 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.07483, allocations: 423.8 kB / 396.6 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005944/0.07543, allocations: 244 kB / 396.9 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.352e-05/0.07547, allocations: 8.656 kB / 396.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008654/0.07634, allocations: 376.2 kB / 397.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.307e-06/0.07634, allocations: 3.938 kB / 397.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.005159/0.0815, allocations: 1.747 MB / 399 MB, free: 12.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/0.08165, allocations: 140.5 kB / 399.1 MB, free: 12.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008309/0.08248, allocations: 413.8 kB / 399.5 MB, free: 12.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.001e-05/0.08255, allocations: 37.7 kB / 399.6 MB, free: 12.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005033/0.08306, allocations: 340.5 kB / 399.9 MB, free: 11.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000265/0.08332, allocations: 170.6 kB / 400.1 MB, free: 11.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002813/0.0836, allocations: 106.3 kB / 400.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003008/0.0839, allocations: 370.8 kB / 400.5 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006402/0.08454, allocations: 262.8 kB / 400.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008928/0.08544, allocations: 419.5 kB / 401.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004745/0.09018, allocations: 1.262 MB / 402.5 MB, free: 9.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.09019, allocations: 0 / 402.5 MB, free: 9.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00315/0.09334, allocations: 1.009 MB / 403.5 MB, free: 8.051 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.294e-05/0.09341, allocations: 33.7 kB / 403.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.09343, allocations: 8 kB / 403.5 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.09474, allocations: 368.5 kB / 403.9 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.09578, allocations: 171.7 kB / 404.1 MB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008047/0.1038, allocations: 5.018 MB / 409.1 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.1043, allocations: 19.98 kB / 409.1 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/0.1043, allocations: 24 kB / 409.1 MB, free: 2.219 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.0005124/0.1049, allocations: 307.3 kB / 409.4 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.105, allocations: 67.67 kB / 409.5 MB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.1064, allocations: 0.6834 MB / 410.2 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1064, allocations: 4.094 kB / 410.2 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1064, allocations: 0 / 410.2 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.1064, allocations: 7.969 kB / 410.2 MB, free: 1.113 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.002885/0.1093, allocations: 1.332 MB / 411.5 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.1093, allocations: 0 / 411.5 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/0.1106, allocations: 191.9 kB / 411.7 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002986/0.1109, allocations: 78.53 kB / 411.8 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.686e-05/0.111, allocations: 15.98 kB / 411.8 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/0.1149, allocations: 3.878 MB / 415.7 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.1149, allocations: 4.344 kB / 415.7 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.1168, allocations: 1.04 MB / 416.7 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.117, allocations: 95.62 kB / 416.8 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.742e-05/0.1171, allocations: 15.98 kB / 416.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.1174, allocations: 19.98 kB / 416.8 MB, free: 10 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.1175, allocations: 35.88 kB / 416.9 MB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.1175, allocations: 16 kB / 416.9 MB, free: 9.953 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004213/0.1179, allocations: 283.1 kB / 417.2 MB, free: 9.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1179, allocations: 4 kB / 417.2 MB, free: 9.676 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007991/0.1187, allocations: 164 kB / 417.3 MB, free: 9.516 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.0001864/0.1189, allocations: 111.2 kB / 417.4 MB, free: 9.398 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002372/0.1213, allocations: 1.022 MB / 418.5 MB, free: 8.336 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1213, allocations: 4.062 kB / 418.5 MB, free: 8.332 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009707/0.1223, allocations: 0.6647 MB / 419.1 MB, free: 7.609 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007356/0.123, allocations: 117.5 kB / 419.2 MB, free: 7.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.126, allocations: 1.536 MB / 420.8 MB, free: 5.918 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/0.1265, allocations: 385.7 kB / 421.2 MB, free: 5.516 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003672/0.1268, allocations: 120.5 kB / 421.3 MB, free: 5.395 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.127, allocations: 36.5 kB / 421.3 MB, free: 5.359 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.127, allocations: 0 / 421.3 MB, free: 5.359 MB / 394.7 MB Notification: Performance of Templates: time 0.01662/0.1436, allocations: 7.728 MB / 429 MB, free: 13.75 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1) [Timeout 480] 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.390051558963023]