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.001684/0.001684, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00209/0.00209, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.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.1858/0.1858, allocations: 38.54 MB / 353.2 MB, free: 12.32 MB / 286.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.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.002168/0.002168, allocations: 71.02 kB / 493.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2902, allocations: 62.47 MB / 0.5432 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.008452/0.2986, allocations: 6.08 MB / 0.5491 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005108/0.3037, allocations: 2.514 MB / 0.5516 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005226/0.3043, allocations: 39.19 kB / 0.5516 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.3055, allocations: 317 kB / 0.5519 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.307, allocations: 0.608 MB / 0.5525 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000734/0.3077, allocations: 294.8 kB / 0.5528 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001601/0.3093, allocations: 1.202 MB / 0.5539 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.3103, allocations: 0.7639 MB / 0.5547 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007909/0.3111, allocations: 0.4986 MB / 0.5552 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008122/0.312, allocations: 0.5342 MB / 0.5557 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.3121, allocations: 85.94 kB / 0.5558 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006749/0.3128, allocations: 345.1 kB / 0.5561 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003697/0.3131, allocations: 346.9 kB / 0.5564 GB, free: 6.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004296/0.3136, allocations: 366.5 kB / 0.5568 GB, free: 6.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.3152, allocations: 1.39 MB / 0.5582 GB, free: 4.836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3152, allocations: 0 / 0.5582 GB, free: 4.836 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3152, allocations: 4 kB / 0.5582 GB, free: 4.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.3152, allocations: 0 / 0.5582 GB, free: 4.832 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.00223/0.3174, allocations: 1.088 MB / 0.5592 GB, free: 3.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3175, allocations: 11.98 kB / 0.5592 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007111/0.3182, allocations: 148.2 kB / 0.5594 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.3195, allocations: 0.6266 MB / 0.56 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.3196, allocations: 109.3 kB / 0.5601 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.3198, allocations: 64 kB / 0.5601 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.3213, allocations: 0.957 MB / 0.5611 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/0.3214, allocations: 11.88 kB / 0.5611 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.621e-05/0.3215, allocations: 31.98 kB / 0.5611 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.3216, allocations: 57.23 kB / 0.5612 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.323, allocations: 0.7897 MB / 0.5619 GB, free: 0.8242 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.005022/0.328, allocations: 3.296 MB / 0.5652 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000835/0.3288, allocations: 415 kB / 0.5656 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004477/0.3293, allocations: 227.1 kB / 0.5658 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.3293, allocations: 7.859 kB / 0.5658 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.3293, allocations: 42.55 kB / 0.5658 GB, free: 12.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=37): time 2.424e-06/0.3293, allocations: 0 / 0.5658 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.01098/0.3403, allocations: 3.399 MB / 0.5691 GB, free: 9.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.3404, allocations: 111.2 kB / 0.5693 GB, free: 9.047 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006295/0.341, allocations: 469.7 kB / 0.5697 GB, free: 8.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.3411, allocations: 37.7 kB / 0.5697 GB, free: 8.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.3414, allocations: 415.9 kB / 0.5701 GB, free: 8.125 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.3416, allocations: 198.3 kB / 0.5703 GB, free: 7.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.3418, allocations: 126.6 kB / 0.5704 GB, free: 7.801 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.342, allocations: 366.8 kB / 0.5708 GB, free: 7.434 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005025/0.3425, allocations: 285.9 kB / 0.5711 GB, free: 7.156 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006965/0.3432, allocations: 0.5072 MB / 0.5716 GB, free: 6.547 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.3445, allocations: 0.8481 MB / 0.5724 GB, free: 5.598 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3445, allocations: 0 / 0.5724 GB, free: 5.598 MB / 414.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003513/0.348, allocations: 1.305 MB / 0.5737 GB, free: 4.273 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.348, allocations: 8.25 kB / 0.5737 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.348, allocations: 12 kB / 0.5737 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/0.3497, allocations: 471 kB / 0.5741 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/0.3502, allocations: 111.8 kB / 0.5742 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.3616, allocations: 8.645 MB / 0.5827 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.3622, allocations: 31.94 kB / 0.5827 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/0.3622, allocations: 35.98 kB / 0.5827 GB, free: 10.54 MB / 430.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.0004634/0.3627, allocations: 309.5 kB / 0.583 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.3628, allocations: 55.61 kB / 0.5831 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/0.3661, allocations: 1.15 MB / 0.5842 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.3661, allocations: 4 kB / 0.5842 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.3661, allocations: 4 kB / 0.5842 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.3661, allocations: 7.922 kB / 0.5842 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004685/0.3708, allocations: 1.893 MB / 0.5861 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.3708, allocations: 4.094 kB / 0.5861 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.3712, allocations: 55.91 kB / 0.5861 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001579/0.3727, allocations: 451 kB / 0.5866 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.712e-05/0.3728, allocations: 12 kB / 0.5866 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/0.3836, allocations: 8.39 MB / 0.5948 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3836, allocations: 7.938 kB / 0.5948 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003949/0.3875, allocations: 1.696 MB / 0.5964 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.3879, allocations: 115.6 kB / 0.5965 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.682e-05/0.388, allocations: 19.92 kB / 0.5966 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.3884, allocations: 16 kB / 0.5966 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.3886, allocations: 64.44 kB / 0.5966 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.3886, allocations: 16 kB / 0.5967 GB, free: 11.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004447/0.3891, allocations: 315.1 kB / 0.597 GB, free: 11.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3891, allocations: 0 / 0.597 GB, free: 11.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001132/0.3902, allocations: 251.9 kB / 0.5972 GB, free: 11.19 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.0003311/0.3905, allocations: 143 kB / 0.5973 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.3931, allocations: 1.322 MB / 0.5986 GB, free: 9.668 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.3931, allocations: 0 / 0.5986 GB, free: 9.668 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0018/0.3949, allocations: 0.9701 MB / 0.5996 GB, free: 8.641 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009289/0.3958, allocations: 144.6 kB / 0.5997 GB, free: 8.508 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.3989, allocations: 1.745 MB / 0.6014 GB, free: 6.711 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005787/0.3995, allocations: 452.6 kB / 0.6018 GB, free: 6.242 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.3996, allocations: 51.42 kB / 0.6019 GB, free: 6.191 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3996, allocations: 0 / 0.6019 GB, free: 6.191 MB / 446.1 MB Notification: Performance of Templates: time 0.03076/0.4304, allocations: 24.39 MB / 0.6257 GB, free: 13.79 MB / 478.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 [Calling sys.exit(0), Time elapsed: 10.575007279869169]