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.001236/0.001236, allocations: 80.31 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001215/0.001215, allocations: 170.4 kB / 25.61 MB, free: 8.914 MB / 18.57 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 0.9378/0.9378, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.1261/0.1261, allocations: 29.43 MB / 292 MB, free: 2.633 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.116e-05, allocations: 4.703 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.004826/0.004847, allocations: 5.94 MB / 376.8 MB, free: 26.36 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.007639, allocations: 2.606 MB / 379.4 MB, free: 23.74 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003795/0.008019, allocations: 39.69 kB / 379.5 MB, free: 23.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008656/0.008884, allocations: 329.9 kB / 379.8 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.009899, allocations: 0.6137 MB / 380.4 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.01041, allocations: 299.4 kB / 380.7 MB, free: 22.47 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009995/0.01141, allocations: 1.223 MB / 381.9 MB, free: 21.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007108/0.01212, allocations: 0.787 MB / 382.7 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005806/0.0127, allocations: 0.6782 MB / 383.4 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004753/0.01318, allocations: 0.4948 MB / 383.9 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.016e-05/0.01325, allocations: 84 kB / 384 MB, free: 19.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004042/0.01365, allocations: 359.3 kB / 384.3 MB, free: 18.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.01384, allocations: 359.1 kB / 384.7 MB, free: 18.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.01404, allocations: 307.3 kB / 385 MB, free: 18.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008251/0.01486, allocations: 0.9385 MB / 385.9 MB, free: 17.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.01487, allocations: 0 / 385.9 MB, free: 17.24 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01487, allocations: 0 / 385.9 MB, free: 17.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.01488, allocations: 4 kB / 385.9 MB, free: 17.24 MB / 314.7 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.001195/0.01607, allocations: 1.18 MB / 387.1 MB, free: 16.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.01612, allocations: 8.031 kB / 387.1 MB, free: 16.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005509/0.01667, allocations: 212.2 kB / 387.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/0.01738, allocations: 0.6132 MB / 387.9 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.01751, allocations: 114 kB / 388 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.151e-05/0.01759, allocations: 80.05 kB / 388.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.01817, allocations: 0.6041 MB / 388.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.01819, allocations: 0 / 388.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.01823, allocations: 28 kB / 388.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-05/0.0183, allocations: 53.28 kB / 388.8 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003346/0.01863, allocations: 277.9 kB / 389.1 MB, free: 13.95 MB / 314.7 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.002308/0.02094, allocations: 3.553 MB / 392.6 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.02129, allocations: 267 kB / 392.9 MB, free: 9.922 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.02143, allocations: 125 kB / 393 MB, free: 9.789 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.02146, allocations: 12.53 kB / 393 MB, free: 9.777 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.02149, allocations: 49.33 kB / 393.1 MB, free: 9.719 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 3.337e-06/0.02149, allocations: 0 / 393.1 MB, free: 9.719 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.004017/0.02551, allocations: 1.985 MB / 395 MB, free: 7.656 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.02554, allocations: 107.3 kB / 395.1 MB, free: 7.527 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.02581, allocations: 490.1 kB / 395.6 MB, free: 7.027 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.02583, allocations: 33.7 kB / 395.7 MB, free: 6.988 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.02596, allocations: 466.6 kB / 396.1 MB, free: 6.523 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.178e-05/0.02605, allocations: 202.3 kB / 396.3 MB, free: 6.324 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.02616, allocations: 140.2 kB / 396.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.02624, allocations: 0.5584 MB / 397 MB, free: 5.609 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.02634, allocations: 93.86 kB / 397.1 MB, free: 5.516 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.02653, allocations: 428.9 kB / 397.5 MB, free: 4.957 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.02689, allocations: 0.5577 MB / 398.1 MB, free: 4.262 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.02689, allocations: 3.938 kB / 398.1 MB, free: 4.258 MB / 314.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001271/0.02816, allocations: 0.8381 MB / 398.9 MB, free: 3.398 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.02818, allocations: 9.25 kB / 398.9 MB, free: 3.391 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.02819, allocations: 7.984 kB / 398.9 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.02928, allocations: 480.2 kB / 399.4 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.02949, allocations: 107.8 kB / 399.5 MB, free: 2.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005069/0.03456, allocations: 8.15 MB / 407.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/0.03494, allocations: 20 kB / 407.7 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.03498, allocations: 31.94 kB / 407.7 MB, free: 10.13 MB / 330.7 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.0002813/0.03526, allocations: 208.4 kB / 407.9 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.03537, allocations: 75.62 kB / 408 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.03663, allocations: 0.6965 MB / 408.7 MB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.03664, allocations: 8 kB / 408.7 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.03665, allocations: 7.984 kB / 408.7 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.03665, allocations: 0 / 408.7 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.03865, allocations: 1.308 MB / 410 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.03865, allocations: 7.938 kB / 410 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.03882, allocations: 51.91 kB / 410.1 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.03993, allocations: 461.8 kB / 410.5 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.03996, allocations: 19.98 kB / 410.5 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004987/0.04495, allocations: 8.113 MB / 418.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.04495, allocations: 0 / 418.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.04661, allocations: 1.078 MB / 419.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.04682, allocations: 111.6 kB / 419.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.04686, allocations: 19.92 kB / 419.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.04705, allocations: 15.94 kB / 419.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.04722, allocations: 64.23 kB / 419.9 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.04724, allocations: 12 kB / 419.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002607/0.0475, allocations: 295 kB / 420.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0475, allocations: 0 / 420.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008595/0.04836, allocations: 247.9 kB / 420.5 MB, free: 12.73 MB / 346.7 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.0002459/0.04861, allocations: 139.1 kB / 420.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.04991, allocations: 1.236 MB / 421.8 MB, free: 11.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.04991, allocations: 0 / 421.8 MB, free: 11.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000893/0.05081, allocations: 1.051 MB / 422.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005922/0.0514, allocations: 151.1 kB / 423 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.0537, allocations: 1.428 MB / 424.5 MB, free: 8.531 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.05393, allocations: 243.4 kB / 424.7 MB, free: 8.273 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002234/0.05415, allocations: 77.16 kB / 424.8 MB, free: 8.199 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.0544, allocations: 182.1 kB / 425 MB, free: 8.02 MB / 346.7 MB Notification: Performance of SimCode: time 9.61e-07/0.0544, allocations: 3.938 kB / 425 MB, free: 8.016 MB / 346.7 MB Notification: Performance of Templates: time 0.02041/0.07481, allocations: 15.07 MB / 440 MB, free: 9.125 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6143864546902478]