Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.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.001343/0.001343, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001624/0.001624, allocations: 168.8 kB / 24.5 MB, free: 3.453 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.504/1.504, allocations: 177.2 MB / 204.9 MB, free: 9.035 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.2041/0.2041, allocations: 29.42 MB / 290.7 MB, free: 3.305 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.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") [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.002181/0.002181, allocations: 71.89 kB / 431.2 MB, free: 3.246 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3702, allocations: 62.45 MB / 493.6 MB, free: 37.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.006692/0.3769, allocations: 6.094 MB / 499.7 MB, free: 33.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003655/0.3806, allocations: 2.517 MB / 0.4905 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004352/0.381, allocations: 37.88 kB / 0.4905 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.382, allocations: 321.4 kB / 0.4908 GB, free: 31.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.3832, allocations: 0.6087 MB / 0.4914 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000556/0.3838, allocations: 288.7 kB / 0.4917 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.3849, allocations: 1.205 MB / 0.4929 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008361/0.3857, allocations: 0.7652 MB / 0.4936 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005708/0.3863, allocations: 0.4992 MB / 0.4941 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006638/0.387, allocations: 0.5219 MB / 0.4946 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.3871, allocations: 86.06 kB / 0.4947 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005526/0.3876, allocations: 356.6 kB / 0.495 GB, free: 30 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002683/0.3879, allocations: 338 kB / 0.4953 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003525/0.3883, allocations: 378.3 kB / 0.4957 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.3895, allocations: 1.381 MB / 0.4971 GB, free: 29.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3895, allocations: 0 / 0.4971 GB, free: 29.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3895, allocations: 0 / 0.4971 GB, free: 29.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.3895, allocations: 4 kB / 0.4971 GB, free: 29.17 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001851/0.3913, allocations: 1.089 MB / 0.4981 GB, free: 28.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3914, allocations: 21.42 kB / 0.4981 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006585/0.392, allocations: 148.2 kB / 0.4983 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.3931, allocations: 0.6284 MB / 0.4989 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.3932, allocations: 112.7 kB / 0.499 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.715e-05/0.3933, allocations: 66.41 kB / 0.4991 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.3945, allocations: 0.9593 MB / 0.5 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.3945, allocations: 7.234 kB / 0.5 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.318e-05/0.3946, allocations: 26.5 kB / 0.5 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.625e-05/0.3947, allocations: 61.19 kB / 0.5001 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.3957, allocations: 0.7874 MB / 0.5009 GB, free: 27.14 MB / 446.1 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 preOpt removeSimpleEquations (simulation): time 0.003711/0.3995, allocations: 3.297 MB / 0.5041 GB, free: 24.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006631/0.4001, allocations: 417.8 kB / 0.5045 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.4005, allocations: 221.2 kB / 0.5047 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.4005, allocations: 13.92 kB / 0.5047 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.4005, allocations: 37.66 kB / 0.5047 GB, free: 24.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.184e-06/0.4005, allocations: 0 / 0.5047 GB, free: 24.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.009731/0.4103, allocations: 3.396 MB / 0.5081 GB, free: 22.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.4103, allocations: 118 kB / 0.5082 GB, free: 22.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005528/0.4108, allocations: 473.3 kB / 0.5086 GB, free: 22.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.4109, allocations: 33.7 kB / 0.5087 GB, free: 22.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.4111, allocations: 406.7 kB / 0.509 GB, free: 22.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.4112, allocations: 207.1 kB / 0.5092 GB, free: 22.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.4113, allocations: 123.9 kB / 0.5094 GB, free: 22.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.4114, allocations: 367.6 kB / 0.5097 GB, free: 21.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.4118, allocations: 286.8 kB / 0.51 GB, free: 21.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/0.4123, allocations: 0.5048 MB / 0.5105 GB, free: 21.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008932/0.4132, allocations: 0.8501 MB / 0.5113 GB, free: 20.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.4132, allocations: 3 kB / 0.5113 GB, free: 20.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00313/0.4163, allocations: 1.309 MB / 0.5126 GB, free: 20.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.4163, allocations: 8.531 kB / 0.5126 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.4164, allocations: 8.062 kB / 0.5126 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/0.4179, allocations: 472.9 kB / 0.5131 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.4183, allocations: 113.5 kB / 0.5132 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008879/0.4272, allocations: 8.644 MB / 0.5216 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006935/0.4279, allocations: 35.31 kB / 0.5216 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.4279, allocations: 34.72 kB / 0.5217 GB, free: 13.28 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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%), (3,8,88.9%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005157/0.4284, allocations: 303.3 kB / 0.522 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.4286, allocations: 66.19 kB / 0.522 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003302/0.4319, allocations: 1.146 MB / 0.5231 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.4319, allocations: 7.094 kB / 0.5231 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.4319, allocations: 3.438 kB / 0.5232 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.4319, allocations: 4.109 kB / 0.5232 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004499/0.4364, allocations: 1.882 MB / 0.525 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.4364, allocations: 5.062 kB / 0.525 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.4367, allocations: 67.58 kB / 0.5251 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001532/0.4383, allocations: 446.5 kB / 0.5255 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/0.4383, allocations: 12.84 kB / 0.5255 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009488/0.4478, allocations: 8.383 MB / 0.5337 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4478, allocations: 2.156 kB / 0.5337 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003993/0.4518, allocations: 1.697 MB / 0.5353 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/0.4522, allocations: 117.7 kB / 0.5355 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.422e-05/0.4523, allocations: 16.41 kB / 0.5355 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.4527, allocations: 20.78 kB / 0.5355 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/0.4529, allocations: 58.27 kB / 0.5356 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.453, allocations: 21 kB / 0.5356 GB, free: 4.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005774/0.4536, allocations: 316.5 kB / 0.5359 GB, free: 3.922 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4536, allocations: 0 / 0.5359 GB, free: 3.922 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001579/0.4551, allocations: 252.2 kB / 0.5361 GB, free: 3.891 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (machine.rotor.w,machine.motor.phi_el) * 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,8,88.9%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003262/0.4555, allocations: 148.9 kB / 0.5363 GB, free: 3.773 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002558/0.458, allocations: 1.326 MB / 0.5376 GB, free: 2.973 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.458, allocations: 1.344 kB / 0.5376 GB, free: 2.973 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.4597, allocations: 0.9675 MB / 0.5385 GB, free: 2.309 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.4607, allocations: 141.2 kB / 0.5386 GB, free: 2.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.4639, allocations: 1.688 MB / 0.5403 GB, free: 1.324 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000777/0.4646, allocations: 457 kB / 0.5407 GB, free: 1.176 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003431/0.465, allocations: 99.86 kB / 0.5408 GB, free: 1.152 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.4651, allocations: 51.89 kB / 0.5409 GB, free: 1.137 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4651, allocations: 0 / 0.5409 GB, free: 1.137 MB / 446.1 MB Notification: Performance of Templates: time 0.02638/0.4915, allocations: 13.72 MB / 0.5543 GB, free: 10.25 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.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.6387032410129905]