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.001498/0.001498, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001623/0.001623, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.383/1.383, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.177/0.177, allocations: 38.51 MB / 353.2 MB, free: 12.55 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.002169/0.002169, allocations: 67.89 kB / 493.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3026, allocations: 62.46 MB / 0.5432 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.008397/0.311, allocations: 6.54 MB / 0.5496 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005019/0.3161, allocations: 2.735 MB / 0.5523 GB, free: 9.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000606/0.3167, allocations: 39.28 kB / 0.5523 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.3179, allocations: 336.7 kB / 0.5526 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.3195, allocations: 0.6113 MB / 0.5532 GB, free: 8.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007676/0.3202, allocations: 293.6 kB / 0.5535 GB, free: 8.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001826/0.3221, allocations: 1.201 MB / 0.5547 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.3232, allocations: 0.7772 MB / 0.5554 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.3245, allocations: 0.4935 MB / 0.5559 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.3258, allocations: 0.5659 MB / 0.5565 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.3259, allocations: 86.78 kB / 0.5566 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000891/0.3268, allocations: 379.7 kB / 0.5569 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004048/0.3272, allocations: 337.8 kB / 0.5573 GB, free: 6.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005603/0.3278, allocations: 472 kB / 0.5577 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.3296, allocations: 1.374 MB / 0.559 GB, free: 4.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3296, allocations: 0 / 0.559 GB, free: 4.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3296, allocations: 4 kB / 0.559 GB, free: 4.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.3296, allocations: 0 / 0.559 GB, free: 4.215 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.002376/0.332, allocations: 1.088 MB / 0.5601 GB, free: 3.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.332, allocations: 15.98 kB / 0.5601 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007003/0.3327, allocations: 136.3 kB / 0.5603 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.334, allocations: 0.6383 MB / 0.5609 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.3342, allocations: 109.3 kB / 0.561 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.3343, allocations: 68 kB / 0.561 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.3358, allocations: 0.9569 MB / 0.562 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.3359, allocations: 3.953 kB / 0.562 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-05/0.3359, allocations: 31.98 kB / 0.562 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.336, allocations: 49.3 kB / 0.5621 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.3374, allocations: 0.7975 MB / 0.5628 GB, free: 212 kB / 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.005273/0.3427, allocations: 3.758 MB / 0.5665 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007988/0.3435, allocations: 412.1 kB / 0.5669 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/0.3439, allocations: 223.1 kB / 0.5671 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.3439, allocations: 11.84 kB / 0.5671 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.344, allocations: 42.5 kB / 0.5672 GB, free: 11.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=37): time 2.495e-06/0.344, allocations: 0 / 0.5672 GB, free: 11.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.01064/0.3546, allocations: 3.407 MB / 0.5705 GB, free: 8.043 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.238e-05/0.3547, allocations: 107.2 kB / 0.5706 GB, free: 7.914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007568/0.3555, allocations: 0.53 MB / 0.5711 GB, free: 7.379 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.412e-05/0.3555, allocations: 29.7 kB / 0.5711 GB, free: 7.344 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/0.3558, allocations: 412.1 kB / 0.5715 GB, free: 6.934 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.356, allocations: 198.3 kB / 0.5717 GB, free: 6.738 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.3562, allocations: 138.6 kB / 0.5719 GB, free: 6.598 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.3564, allocations: 370.8 kB / 0.5722 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004831/0.3569, allocations: 281.8 kB / 0.5725 GB, free: 5.949 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000657/0.3576, allocations: 0.5033 MB / 0.573 GB, free: 5.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.3588, allocations: 0.8559 MB / 0.5738 GB, free: 4.383 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.3588, allocations: 4 kB / 0.5738 GB, free: 4.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003359/0.3622, allocations: 1.303 MB / 0.5751 GB, free: 3.055 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.3622, allocations: 8 kB / 0.5751 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.3622, allocations: 8 kB / 0.5751 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/0.3639, allocations: 463.2 kB / 0.5755 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/0.3643, allocations: 115.8 kB / 0.5757 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.3757, allocations: 8.822 MB / 0.5843 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/0.3763, allocations: 31.92 kB / 0.5843 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.964e-05/0.3764, allocations: 32 kB / 0.5843 GB, free: 9.105 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.0005205/0.3769, allocations: 309.6 kB / 0.5846 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.3771, allocations: 59.62 kB / 0.5847 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003186/0.3803, allocations: 1.154 MB / 0.5858 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3803, allocations: 4 kB / 0.5858 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/0.3803, allocations: 4 kB / 0.5858 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.3803, allocations: 7.922 kB / 0.5858 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004659/0.385, allocations: 2.08 MB / 0.5879 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.385, allocations: 4 kB / 0.5879 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.3853, allocations: 55.91 kB / 0.5879 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.3868, allocations: 463.1 kB / 0.5884 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/0.3868, allocations: 12 kB / 0.5884 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/0.3973, allocations: 8.555 MB / 0.5967 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3973, allocations: 0 / 0.5967 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003771/0.4011, allocations: 1.704 MB / 0.5984 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000361/0.4014, allocations: 123.5 kB / 0.5985 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.4015, allocations: 12 kB / 0.5985 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.402, allocations: 23.92 kB / 0.5985 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.4021, allocations: 64.39 kB / 0.5986 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.4022, allocations: 19.98 kB / 0.5986 GB, free: 9.863 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005189/0.4027, allocations: 374.8 kB / 0.599 GB, free: 9.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4027, allocations: 0 / 0.599 GB, free: 9.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000998/0.4037, allocations: 251.9 kB / 0.5992 GB, free: 9.254 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.000299/0.404, allocations: 131.2 kB / 0.5993 GB, free: 9.113 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002521/0.4065, allocations: 1.329 MB / 0.6006 GB, free: 7.734 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4065, allocations: 0 / 0.6006 GB, free: 7.734 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.4083, allocations: 0.9663 MB / 0.6016 GB, free: 6.711 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009549/0.4092, allocations: 185 kB / 0.6018 GB, free: 6.539 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.4122, allocations: 1.763 MB / 0.6035 GB, free: 4.727 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007782/0.413, allocations: 1.052 MB / 0.6045 GB, free: 3.648 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.4132, allocations: 47.42 kB / 0.6046 GB, free: 3.602 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4132, allocations: 0 / 0.6046 GB, free: 3.602 MB / 446.1 MB Notification: Performance of Templates: time 0.03102/0.4442, allocations: 24.75 MB / 0.6287 GB, free: 10.86 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.137731093913317]