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.001218/0.001218, allocations: 78.66 kB / 21.42 MB, free: 3.082 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.001464/0.001464, allocations: 172.9 kB / 24.82 MB, free: 8.945 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 1.143/1.143, allocations: 177.2 MB / 205.3 MB, free: 5.496 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.2684/0.2684, allocations: 29.42 MB / 291.2 MB, free: 2.398 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 2.254e-06/2.254e-06, allocations: 0 / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.921e-05, allocations: 2.312 kB / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.007517/0.007546, allocations: 5.931 MB / 376.1 MB, free: 4.738 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003261/0.01081, allocations: 2.602 MB / 378.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003983/0.01121, allocations: 31.75 kB / 378.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008906/0.0121, allocations: 326 kB / 379 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.01321, allocations: 0.6177 MB / 379.6 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.01421, allocations: 295.4 kB / 379.9 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.0155, allocations: 1.23 MB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009983/0.0165, allocations: 0.7948 MB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009333/0.01744, allocations: 0.6781 MB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006586/0.01809, allocations: 0.4948 MB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002648/0.01836, allocations: 88 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004968/0.01886, allocations: 343.4 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.01911, allocations: 363.1 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.01934, allocations: 315.3 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009035/0.02025, allocations: 0.9346 MB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.02025, allocations: 0 / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.02025, allocations: 0 / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.02026, allocations: 0 / 385.1 MB, free: 11.64 MB / 362.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.001379/0.02164, allocations: 1.172 MB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.0217, allocations: 19.97 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005689/0.02227, allocations: 208.3 kB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.0234, allocations: 0.6207 MB / 387.1 MB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-05/0.02349, allocations: 106 kB / 387.3 MB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.092e-05/0.02357, allocations: 76.09 kB / 387.3 MB, free: 9.363 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000653/0.02423, allocations: 0.6041 MB / 387.9 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.02425, allocations: 7.938 kB / 387.9 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.02429, allocations: 28 kB / 388 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.242e-05/0.02436, allocations: 57.28 kB / 388 MB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.02471, allocations: 270.1 kB / 388.3 MB, free: 8.348 MB / 362.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.002772/0.02749, allocations: 3.553 MB / 391.8 MB, free: 4.613 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.02782, allocations: 272.8 kB / 392.1 MB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.02798, allocations: 119 kB / 392.2 MB, free: 4.184 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.02801, allocations: 7.938 kB / 392.2 MB, free: 4.176 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.02803, allocations: 45.38 kB / 392.3 MB, free: 4.121 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.873e-06/0.02804, allocations: 0 / 392.3 MB, free: 4.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.004818/0.03285, allocations: 1.985 MB / 394.3 MB, free: 2.059 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.03292, allocations: 111.3 kB / 394.4 MB, free: 1.926 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.03327, allocations: 486.2 kB / 394.8 MB, free: 1.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.0333, allocations: 37.73 kB / 394.9 MB, free: 1.387 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.03352, allocations: 470.6 kB / 395.3 MB, free: 0.918 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.03364, allocations: 206.2 kB / 395.5 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.03378, allocations: 140.2 kB / 395.7 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.03394, allocations: 0.5507 MB / 396.2 MB, free: 8 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.03407, allocations: 89.98 kB / 396.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.03434, allocations: 428.7 kB / 396.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/0.03483, allocations: 0.5617 MB / 397.3 MB, free: 14.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.03484, allocations: 8 kB / 397.3 MB, free: 14.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001449/0.03629, allocations: 0.831 MB / 398.1 MB, free: 13.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.0363, allocations: 8 kB / 398.1 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.03632, allocations: 8 kB / 398.1 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.0375, allocations: 481.9 kB / 398.6 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.0378, allocations: 115.8 kB / 398.7 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005768/0.04357, allocations: 8.156 MB / 406.9 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.04395, allocations: 32.03 kB / 406.9 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.04398, allocations: 23.94 kB / 406.9 MB, free: 4.52 MB / 378.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.0002742/0.04425, allocations: 196.4 kB / 407.1 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.04437, allocations: 83.61 kB / 407.2 MB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.04594, allocations: 0.7003 MB / 407.9 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.04595, allocations: 4 kB / 407.9 MB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.04596, allocations: 4 kB / 407.9 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.04596, allocations: 8.094 kB / 407.9 MB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.04793, allocations: 1.3 MB / 409.2 MB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.04793, allocations: 3.984 kB / 409.2 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.0481, allocations: 64 kB / 409.3 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/0.04916, allocations: 450.4 kB / 409.7 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.04919, allocations: 19.98 kB / 409.8 MB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0052/0.05439, allocations: 8.119 MB / 417.9 MB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.05439, allocations: 4 kB / 417.9 MB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.05604, allocations: 1.078 MB / 419 MB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.05626, allocations: 107.6 kB / 419.1 MB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.0563, allocations: 15.98 kB / 419.1 MB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.05649, allocations: 19.94 kB / 419.1 MB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.05665, allocations: 56.39 kB / 419.2 MB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.05667, allocations: 15.98 kB / 419.2 MB, free: 7.664 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002074/0.05688, allocations: 287 kB / 419.4 MB, free: 7.383 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05688, allocations: 0 / 419.4 MB, free: 7.383 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008241/0.05771, allocations: 255.9 kB / 419.7 MB, free: 7.133 MB / 394.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.0002539/0.05796, allocations: 131.3 kB / 419.8 MB, free: 6.992 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.05923, allocations: 1.234 MB / 421.1 MB, free: 5.688 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.05923, allocations: 7.938 kB / 421.1 MB, free: 5.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008087/0.06004, allocations: 1.057 MB / 422.1 MB, free: 4.547 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008331/0.06087, allocations: 153.7 kB / 422.3 MB, free: 4.402 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.0631, allocations: 1.439 MB / 423.7 MB, free: 2.914 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.06332, allocations: 243.5 kB / 424 MB, free: 2.656 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.06351, allocations: 69.22 kB / 424 MB, free: 2.586 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.06372, allocations: 182.1 kB / 424.2 MB, free: 2.406 MB / 394.7 MB Notification: Performance of SimCode: time 1.252e-06/0.06372, allocations: 0 / 424.2 MB, free: 2.406 MB / 394.7 MB Notification: Performance of Templates: time 0.01942/0.08314, allocations: 14.83 MB / 439 MB, free: 3.707 MB / 410.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.7593665029853582]