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.000679/0.000679, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.001735, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006836/0.0006836, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008548/0.001538, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9653/0.9653, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1053/1.071, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1118/0.1118, allocations: 29.45 MB / 273.6 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.14/0.2518, allocations: 9.539 MB / 283.2 MB, free: 12.81 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.373e-06/1.373e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.028e-05, allocations: 3.844 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.005854/0.005875, allocations: 6.067 MB / 290.5 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003647/0.009521, allocations: 2.682 MB / 293.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004588/0.00998, allocations: 37.56 kB / 293.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008741/0.01085, allocations: 360 kB / 293.6 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.01218, allocations: 0.6123 MB / 294.2 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009883/0.01317, allocations: 302.1 kB / 294.5 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.0147, allocations: 1.225 MB / 295.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008871/0.01559, allocations: 0.7759 MB / 296.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009561/0.01654, allocations: 0.6906 MB / 297.2 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005941/0.01714, allocations: 486.7 kB / 297.7 MB, free: 1.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.276e-05/0.01723, allocations: 88 kB / 297.7 MB, free: 1.375 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005631/0.01779, allocations: 347.4 kB / 298.1 MB, free: 1.035 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.01803, allocations: 319.2 kB / 298.4 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002373/0.01827, allocations: 259.6 kB / 298.7 MB, free: 480 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000854/0.01912, allocations: 0.8722 MB / 299.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-05/0.01914, allocations: 4 kB / 299.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.01914, allocations: 0 / 299.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.01916, allocations: 0 / 299.5 MB, free: 15.59 MB / 298.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.001436/0.02059, allocations: 1.192 MB / 300.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.02063, allocations: 8.031 kB / 300.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000507/0.02113, allocations: 257.8 kB / 301 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006255/0.02176, allocations: 0.5244 MB / 301.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.62e-05/0.02183, allocations: 105.3 kB / 301.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.458e-05/0.02191, allocations: 67.98 kB / 301.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005917/0.0225, allocations: 0.5893 MB / 302.3 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.02252, allocations: 3.938 kB / 302.3 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/0.02256, allocations: 31.98 kB / 302.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-05/0.02263, allocations: 53.28 kB / 302.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.02294, allocations: 246.1 kB / 302.6 MB, free: 12.39 MB / 298.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.002291/0.02523, allocations: 2.76 MB / 305.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.02554, allocations: 277.3 kB / 305.6 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.02567, allocations: 107.2 kB / 305.7 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.02569, allocations: 4.594 kB / 305.7 MB, free: 9.059 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.02572, allocations: 42.5 kB / 305.8 MB, free: 9.008 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 2.064e-06/0.02572, allocations: 0 / 305.8 MB, free: 9.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.002212/0.02793, allocations: 1.087 MB / 306.9 MB, free: 7.879 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.02798, allocations: 106.8 kB / 307 MB, free: 7.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.02822, allocations: 411 kB / 307.4 MB, free: 7.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.02824, allocations: 33.7 kB / 307.4 MB, free: 7.301 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.02839, allocations: 364.9 kB / 307.8 MB, free: 6.934 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.02846, allocations: 142.8 kB / 307.9 MB, free: 6.793 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-05/0.02855, allocations: 106.2 kB / 308 MB, free: 6.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.02865, allocations: 366.7 kB / 308.4 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/0.02871, allocations: 53.28 kB / 308.4 MB, free: 6.262 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.02891, allocations: 277.9 kB / 308.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.02932, allocations: 417.2 kB / 309.1 MB, free: 5.387 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.02932, allocations: 4 kB / 309.1 MB, free: 5.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007424/0.03007, allocations: 475.8 kB / 309.6 MB, free: 4.902 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.03009, allocations: 8.406 kB / 309.6 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.03011, allocations: 15.94 kB / 309.6 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006424/0.03075, allocations: 233.9 kB / 309.8 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.031, allocations: 127.8 kB / 309.9 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/0.03387, allocations: 2.922 MB / 312.9 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.03425, allocations: 27.95 kB / 312.9 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.03429, allocations: 23.98 kB / 312.9 MB, free: 1.348 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002469/0.03454, allocations: 156.6 kB / 313.1 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.03464, allocations: 47.89 kB / 313.1 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008225/0.03546, allocations: 363.8 kB / 313.5 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.03547, allocations: 4 kB / 313.5 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.03547, allocations: 11.98 kB / 313.5 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.03548, allocations: 0 / 313.5 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.0365, allocations: 0.7575 MB / 314.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.0365, allocations: 8.031 kB / 314.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.03666, allocations: 51.95 kB / 314.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.949e-05/0.03675, allocations: 75.52 kB / 314.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005292/0.03728, allocations: 223.7 kB / 314.6 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.03729, allocations: 4 kB / 314.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.03922, allocations: 3.014 MB / 317.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.03922, allocations: 0 / 317.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006759/0.03989, allocations: 0.6316 MB / 318.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.03993, allocations: 16 kB / 318.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.04006, allocations: 8 kB / 318.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.04014, allocations: 39.86 kB / 318.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.04015, allocations: 11.98 kB / 318.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000127/0.04028, allocations: 168.7 kB / 318.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04028, allocations: 0 / 318.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005629/0.04084, allocations: 199.9 kB / 318.7 MB, free: 11.28 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (machine.rotor.phi,machine.rotor.w) * 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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0002234/0.04106, allocations: 120 kB / 318.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005538/0.04162, allocations: 0.5618 MB / 319.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/0.04163, allocations: 8 kB / 319.4 MB, free: 10.56 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.042, allocations: 476 kB / 319.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007541/0.04275, allocations: 1.132 MB / 320.9 MB, free: 8.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009257/0.05201, allocations: 1.237 MB / 322.2 MB, free: 7.449 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.05219, allocations: 206 kB / 322.4 MB, free: 7.227 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00024/0.05243, allocations: 68.83 kB / 322.5 MB, free: 7.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.05263, allocations: 153.3 kB / 322.6 MB, free: 7.012 MB / 314.7 MB Notification: Performance of SimCode: time 1.493e-06/0.05263, allocations: 0 / 322.6 MB, free: 7.012 MB / 314.7 MB Notification: Performance of Templates: time 0.01397/0.0666, allocations: 10.2 MB / 332.8 MB, free: 12.98 MB / 330.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8880910808220506]