Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.001384/0.001384, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.00162/0.00162, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.539/1.539, allocations: 177.2 MB / 204.9 MB, free: 8.988 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.177/0.177, allocations: 29.42 MB / 290.7 MB, free: 3.242 MB / 270.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.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.1..Q_flow|bdCond.heat.ports.2..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.1..Q_flow|bdCond.heat.ports.2..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") [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.002024/0.002024, allocations: 63.91 kB / 431.2 MB, free: 3.168 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3618, allocations: 62.43 MB / 493.6 MB, free: 37.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005947/0.3678, allocations: 5.069 MB / 498.7 MB, free: 34.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00463/0.3724, allocations: 3.64 MB / 0.4906 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003305/0.3727, allocations: 28.34 kB / 0.4906 GB, free: 32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009215/0.382, allocations: 5.355 MB / 0.4958 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009884/0.383, allocations: 326.8 kB / 0.4961 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.3835, allocations: 219.9 kB / 0.4964 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.3853, allocations: 1.64 MB / 0.498 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006261/0.3859, allocations: 0.5173 MB / 0.4985 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003877/0.3863, allocations: 381.7 kB / 0.4988 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005362/0.3869, allocations: 414.6 kB / 0.4992 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.74e-05/0.387, allocations: 55.75 kB / 0.4993 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.3871, allocations: 71.09 kB / 0.4993 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.3873, allocations: 259.2 kB / 0.4996 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.3876, allocations: 256.4 kB / 0.4998 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007636/0.3883, allocations: 0.8254 MB / 0.5006 GB, free: 28.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3883, allocations: 0 / 0.5006 GB, free: 28.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3883, allocations: 0 / 0.5006 GB, free: 28.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3884, allocations: 0 / 0.5006 GB, free: 28.49 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001486/0.3898, allocations: 0.8092 MB / 0.5014 GB, free: 27.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3899, allocations: 9.969 kB / 0.5014 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002893/0.3902, allocations: 75.33 kB / 0.5015 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008692/0.391, allocations: 0.4939 MB / 0.502 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.3911, allocations: 38.97 kB / 0.502 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.262e-05/0.3912, allocations: 45.7 kB / 0.5021 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008218/0.392, allocations: 0.6363 MB / 0.5027 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.392, allocations: 3 kB / 0.5027 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/0.3921, allocations: 15.06 kB / 0.5027 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.3922, allocations: 53.31 kB / 0.5028 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005942/0.3928, allocations: 458.6 kB / 0.5032 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.395, allocations: 2.234 MB / 0.5054 GB, free: 25.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.3954, allocations: 259.9 kB / 0.5056 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.3956, allocations: 127 kB / 0.5057 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.3956, allocations: 3.094 kB / 0.5058 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.3957, allocations: 41.25 kB / 0.5058 GB, free: 25.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.873e-06/0.3957, allocations: 4 kB / 0.5058 GB, free: 25.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.002511/0.3982, allocations: 1.256 MB / 0.507 GB, free: 24.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.3982, allocations: 83.14 kB / 0.5071 GB, free: 24.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.3985, allocations: 383.4 kB / 0.5075 GB, free: 24.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.3985, allocations: 37.58 kB / 0.5075 GB, free: 24.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.3987, allocations: 312.1 kB / 0.5078 GB, free: 23.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/0.3987, allocations: 122.8 kB / 0.5079 GB, free: 23.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-05/0.3988, allocations: 83.02 kB / 0.508 GB, free: 23.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.449e-05/0.3989, allocations: 351.6 kB / 0.5083 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.3991, allocations: 129.4 kB / 0.5085 GB, free: 23.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.3993, allocations: 283.9 kB / 0.5087 GB, free: 23.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.3997, allocations: 450 kB / 0.5092 GB, free: 22.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.3997, allocations: 6.484 kB / 0.5092 GB, free: 22.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008399/0.4005, allocations: 0.5904 MB / 0.5097 GB, free: 22.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4006, allocations: 6.406 kB / 0.5097 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.4006, allocations: 6.969 kB / 0.5098 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003955/0.401, allocations: 143.1 kB / 0.5099 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.4012, allocations: 87.98 kB / 0.51 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/0.4039, allocations: 3.395 MB / 0.5133 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.4042, allocations: 22.28 kB / 0.5133 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.4042, allocations: 15.97 kB / 0.5133 GB, free: 19.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002869/0.4045, allocations: 241.4 kB / 0.5136 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/0.4046, allocations: 39.23 kB / 0.5136 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008718/0.4054, allocations: 0.4907 MB / 0.5141 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.4054, allocations: 3.625 kB / 0.5141 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0006499/0.4061, allocations: 408.7 kB / 0.5145 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4061, allocations: 4.484 kB / 0.5145 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.4074, allocations: 0.8587 MB / 0.5153 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4074, allocations: 1.031 kB / 0.5153 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.4076, allocations: 44.31 kB / 0.5153 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000259/0.4078, allocations: 88.83 kB / 0.5154 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.4079, allocations: 7 kB / 0.5154 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.4094, allocations: 1.882 MB / 0.5173 GB, free: 16.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4094, allocations: 1.375 kB / 0.5173 GB, free: 16.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008804/0.4103, allocations: 0.6406 MB / 0.5179 GB, free: 16.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.4104, allocations: 60.27 kB / 0.518 GB, free: 16.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.4105, allocations: 11.91 kB / 0.518 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.4107, allocations: 17.14 kB / 0.518 GB, free: 16.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.4107, allocations: 32.11 kB / 0.518 GB, free: 16.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.4107, allocations: 7.391 kB / 0.518 GB, free: 16.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003026/0.411, allocations: 275.2 kB / 0.5183 GB, free: 16.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.411, allocations: 0 / 0.5183 GB, free: 16.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000579/0.4116, allocations: 118.8 kB / 0.5184 GB, free: 16.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001108/0.4117, allocations: 105.9 kB / 0.5185 GB, free: 16.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009653/0.4127, allocations: 0.5959 MB / 0.5191 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4127, allocations: 0 / 0.5191 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.4131, allocations: 300.7 kB / 0.5194 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006144/0.4137, allocations: 89.72 kB / 0.5195 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.4155, allocations: 1.126 MB / 0.5206 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.4159, allocations: 325.3 kB / 0.5209 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002121/0.4161, allocations: 67.8 kB / 0.5209 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.034e-05/0.4162, allocations: 36.8 kB / 0.521 GB, free: 14.88 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4162, allocations: 3.938 kB / 0.521 GB, free: 14.88 MB / 446.1 MB Notification: Performance of Templates: time 0.01228/0.4285, allocations: 5.203 MB / 0.5261 GB, free: 14.26 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.2532749170204625]