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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 104 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 193.5 kB / 22.76 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.184/0.184, allocations: 38.53 MB / 345 MB, free: 2.652 MB / 270.1 MB [Timeout remaining time 90] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=503,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=503,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.88 kB / 482.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3436, allocations: 61.25 MB / 0.531 GB, free: 5.465 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.00723/0.3508, allocations: 6.423 MB / 0.5372 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004463/0.3553, allocations: 2.679 MB / 0.5398 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006466/0.3559, allocations: 25.75 kB / 0.5399 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.3572, allocations: 344.7 kB / 0.5402 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.3589, allocations: 0.5953 MB / 0.5408 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000758/0.3596, allocations: 280.2 kB / 0.541 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001744/0.3614, allocations: 1.211 MB / 0.5422 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.3624, allocations: 0.7591 MB / 0.543 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008487/0.3633, allocations: 495 kB / 0.5434 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008268/0.3641, allocations: 0.5729 MB / 0.544 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.3642, allocations: 85.94 kB / 0.5441 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006724/0.3649, allocations: 343.4 kB / 0.5444 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003767/0.3653, allocations: 341.7 kB / 0.5447 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005429/0.3658, allocations: 453.5 kB / 0.5452 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.3676, allocations: 1.382 MB / 0.5465 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3676, allocations: 0 / 0.5465 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3676, allocations: 1.188 kB / 0.5465 GB, free: 10.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.3676, allocations: 0 / 0.5465 GB, free: 10.43 MB / 398.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.002349/0.37, allocations: 1.166 MB / 0.5477 GB, free: 9.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.37, allocations: 9.812 kB / 0.5477 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006506/0.3707, allocations: 143.7 kB / 0.5478 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.372, allocations: 0.6943 MB / 0.5485 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.3721, allocations: 80.86 kB / 0.5486 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.3722, allocations: 67.48 kB / 0.5486 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.3738, allocations: 0.9546 MB / 0.5496 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.3739, allocations: 5.344 kB / 0.5496 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.431e-05/0.3739, allocations: 26.28 kB / 0.5496 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.374, allocations: 59.28 kB / 0.5496 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.3754, allocations: 0.774 MB / 0.5504 GB, free: 7.77 MB / 398.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.005407/0.3808, allocations: 3.853 MB / 0.5542 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008574/0.3816, allocations: 0.4962 MB / 0.5546 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.3821, allocations: 234.5 kB / 0.5549 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.3821, allocations: 4 kB / 0.5549 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.3821, allocations: 34.56 kB / 0.5549 GB, free: 3.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=37): time 2.414e-06/0.3821, allocations: 0 / 0.5549 GB, free: 3.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.01106/0.3932, allocations: 3.758 MB / 0.5586 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/0.3933, allocations: 115.2 kB / 0.5587 GB, free: 15.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007293/0.394, allocations: 0.5261 MB / 0.5592 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.3941, allocations: 33.7 kB / 0.5592 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.3944, allocations: 416 kB / 0.5596 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.3946, allocations: 198.3 kB / 0.5598 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.3948, allocations: 126.6 kB / 0.5599 GB, free: 14.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.395, allocations: 378.8 kB / 0.5603 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/0.3954, allocations: 281.8 kB / 0.5606 GB, free: 13.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006746/0.3961, allocations: 0.4994 MB / 0.5611 GB, free: 13.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.3973, allocations: 0.8442 MB / 0.5619 GB, free: 12.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3973, allocations: 4 kB / 0.5619 GB, free: 12.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003414/0.4008, allocations: 1.445 MB / 0.5633 GB, free: 10.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.4008, allocations: 14.59 kB / 0.5633 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.4008, allocations: 8 kB / 0.5633 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/0.4024, allocations: 451.3 kB / 0.5637 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.4028, allocations: 119.8 kB / 0.5639 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.414, allocations: 9.143 MB / 0.5728 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006956/0.4147, allocations: 28 kB / 0.5728 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/0.4147, allocations: 31.98 kB / 0.5728 GB, free: 280 kB / 414.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%), (2,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005438/0.4153, allocations: 313.5 kB / 0.5731 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.4154, allocations: 63.64 kB / 0.5732 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003197/0.4186, allocations: 1.287 MB / 0.5745 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.4186, allocations: 8.141 kB / 0.5745 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.4186, allocations: 8.094 kB / 0.5745 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.4187, allocations: 7.922 kB / 0.5745 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004672/0.4233, allocations: 2.225 MB / 0.5767 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.4233, allocations: 4 kB / 0.5767 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/0.4237, allocations: 59.89 kB / 0.5767 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/0.4251, allocations: 431.2 kB / 0.5771 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.4251, allocations: 15.98 kB / 0.5771 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/0.4358, allocations: 8.881 MB / 0.5858 GB, free: 2.234 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4358, allocations: 4.031 kB / 0.5858 GB, free: 2.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003875/0.4396, allocations: 1.829 MB / 0.5876 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000398/0.44, allocations: 196.7 kB / 0.5878 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.664e-05/0.4401, allocations: 16.06 kB / 0.5878 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.4405, allocations: 23.98 kB / 0.5878 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.4407, allocations: 56.42 kB / 0.5879 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.294e-05/0.4408, allocations: 20.19 kB / 0.5879 GB, free: 16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005247/0.4413, allocations: 370.8 kB / 0.5883 GB, free: 15.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4413, allocations: 0 / 0.5883 GB, free: 15.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001123/0.4424, allocations: 255.9 kB / 0.5885 GB, free: 15.39 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 {(2,9,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003265/0.4428, allocations: 143 kB / 0.5886 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002421/0.4452, allocations: 1.307 MB / 0.5899 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4452, allocations: 0 / 0.5899 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.4466, allocations: 0.9398 MB / 0.5908 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.4477, allocations: 179.7 kB / 0.591 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.4507, allocations: 1.77 MB / 0.5927 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000774/0.4515, allocations: 1.048 MB / 0.5938 GB, free: 9.809 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.4516, allocations: 51.42 kB / 0.5938 GB, free: 9.758 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4516, allocations: 0 / 0.5938 GB, free: 9.758 MB / 446.1 MB Notification: Performance of Templates: time 0.02971/0.4813, allocations: 24.71 MB / 0.6179 GB, free: 1.062 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 -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