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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001385, allocations: 91.64 kB / 17.31 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 184.8 kB / 18.21 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.2 MB / 242.2 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1809/0.1809, allocations: 38.09 MB / 331.5 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003655, allocations: 9.281 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.14, allocations: 59.17 MB / 460.5 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.007818/0.1478, allocations: 6.719 MB / 467.3 MB, free: 316 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005303/0.1532, allocations: 2.906 MB / 470.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006949/0.1539, allocations: 43.69 kB / 470.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008869/0.1548, allocations: 214.8 kB / 470.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.1564, allocations: 0.533 MB / 470.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007518/0.1572, allocations: 259.7 kB / 471.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001944/0.1591, allocations: 1.621 MB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.1603, allocations: 0.8368 MB / 473.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005128/0.1609, allocations: 386.3 kB / 474 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007227/0.1616, allocations: 0.5099 MB / 474.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.672e-05/0.1617, allocations: 36 kB / 474.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005211/0.1622, allocations: 275.5 kB / 474.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000342/0.1626, allocations: 291.1 kB / 475.1 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003855/0.163, allocations: 415.7 kB / 475.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009576/0.1639, allocations: 1.064 MB / 476.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1639, allocations: 0 / 476.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.164, allocations: 0 / 476.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.164, allocations: 4 kB / 476.6 MB, free: 6.895 MB / 350.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.001987/0.166, allocations: 0.9967 MB / 477.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.166, allocations: 8.031 kB / 477.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006336/0.1667, allocations: 143.8 kB / 477.8 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.1677, allocations: 0.6591 MB / 478.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.1678, allocations: 83.7 kB / 478.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.168, allocations: 63.94 kB / 478.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.1696, allocations: 0.9608 MB / 479.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.1696, allocations: 7.906 kB / 479.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/0.1697, allocations: 27.98 kB / 479.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.1698, allocations: 61.28 kB / 479.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.1711, allocations: 0.7779 MB / 480.4 MB, free: 2.969 MB / 350.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.005524/0.1766, allocations: 3.883 MB / 484.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009142/0.1776, allocations: 0.5214 MB / 484.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004328/0.178, allocations: 241 kB / 485 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.1781, allocations: 4 kB / 485 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.1781, allocations: 38.55 kB / 485.1 MB, free: 14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 4.338e-06/0.1781, allocations: 0 / 485.1 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=55): time 0.01096/0.1891, allocations: 3.79 MB / 488.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.074e-05/0.1892, allocations: 107.2 kB / 489 MB, free: 9.918 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007515/0.19, allocations: 0.5299 MB / 489.5 MB, free: 9.379 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.19, allocations: 33.7 kB / 489.5 MB, free: 9.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.1904, allocations: 403.1 kB / 489.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.1906, allocations: 193.2 kB / 490.1 MB, free: 8.746 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.434e-05/0.1907, allocations: 57.69 kB / 490.2 MB, free: 8.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.1909, allocations: 370.8 kB / 490.5 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/0.1914, allocations: 281.8 kB / 490.8 MB, free: 8.039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006651/0.1921, allocations: 0.5111 MB / 491.3 MB, free: 7.422 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.1933, allocations: 0.852 MB / 492.2 MB, free: 6.465 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.1933, allocations: 0 / 492.2 MB, free: 6.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003352/0.1967, allocations: 1.46 MB / 493.6 MB, free: 4.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.1967, allocations: 16 kB / 493.6 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.1968, allocations: 4 kB / 493.6 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001538/0.1983, allocations: 467 kB / 494.1 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.1987, allocations: 111.8 kB / 494.2 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/0.2093, allocations: 8.459 MB / 0.4909 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007642/0.2101, allocations: 28.12 kB / 0.4909 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/0.2101, allocations: 35.98 kB / 0.4909 GB, free: 11.29 MB / 382.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%), (2,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006105/0.2108, allocations: 318.4 kB / 0.4913 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.2109, allocations: 63.19 kB / 0.4913 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003258/0.2142, allocations: 1.31 MB / 0.4926 GB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.2142, allocations: 8 kB / 0.4926 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.2142, allocations: 0 / 0.4926 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.2142, allocations: 7.984 kB / 0.4926 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00496/0.2192, allocations: 2.252 MB / 0.4948 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-06/0.2193, allocations: 4 kB / 0.4948 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000375/0.2196, allocations: 59.89 kB / 0.4949 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.2212, allocations: 439.2 kB / 0.4953 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.492e-05/0.2212, allocations: 11.98 kB / 0.4953 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2886/0.5099, allocations: 8.186 MB / 0.5033 GB, free: 53.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.5099, allocations: 2.812 kB / 0.5033 GB, free: 53.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003952/0.5139, allocations: 1.85 MB / 0.5051 GB, free: 53.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003381/0.5142, allocations: 198.8 kB / 0.5053 GB, free: 52.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.771e-05/0.5143, allocations: 12.25 kB / 0.5053 GB, free: 52.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.5147, allocations: 19.88 kB / 0.5053 GB, free: 52.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.5149, allocations: 60.38 kB / 0.5054 GB, free: 52.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.101e-05/0.515, allocations: 18.17 kB / 0.5054 GB, free: 52.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000518/0.5155, allocations: 376.6 kB / 0.5058 GB, free: 52.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5155, allocations: 0 / 0.5058 GB, free: 52.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001137/0.5166, allocations: 251.2 kB / 0.506 GB, free: 52.86 MB / 382.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 {(2,9,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003152/0.517, allocations: 134.5 kB / 0.5061 GB, free: 52.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002274/0.5192, allocations: 1.347 MB / 0.5074 GB, free: 52.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5193, allocations: 0 / 0.5074 GB, free: 52.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001386/0.5207, allocations: 0.976 MB / 0.5084 GB, free: 51.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.5217, allocations: 165.1 kB / 0.5086 GB, free: 51.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.5251, allocations: 2.131 MB / 0.5106 GB, free: 50.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008373/0.5259, allocations: 1.044 MB / 0.5117 GB, free: 49.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.5261, allocations: 47.36 kB / 0.5117 GB, free: 49.65 MB / 382.1 MB Notification: Performance of SimCode: time 1.673e-06/0.5261, allocations: 4 kB / 0.5117 GB, free: 49.64 MB / 382.1 MB Notification: Performance of Templates: time 0.02958/0.5557, allocations: 24.53 MB / 0.5357 GB, free: 34.64 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeedCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeedCalcHelperMain.o] Error 1