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.001017/0.001017, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.0009547/0.0009547, allocations: 194.9 kB / 18.08 MB, free: 5.414 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.329/1.329, allocations: 222.9 MB / 241.7 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1614/0.1614, allocations: 38.03 MB / 329.9 MB, free: 9.102 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 55 kB / 398.7 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1186, allocations: 58.06 MB / 456.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.008559/0.1272, allocations: 7.164 MB / 464 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004914/0.1322, allocations: 2.941 MB / 466.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008965/0.1331, allocations: 43.75 kB / 467 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.1343, allocations: 306.5 kB / 467.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.1357, allocations: 0.533 MB / 467.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006456/0.1363, allocations: 247.7 kB / 468 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001705/0.138, allocations: 1.625 MB / 469.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008504/0.1389, allocations: 0.6958 MB / 470.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005257/0.1394, allocations: 410.3 kB / 470.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006569/0.1401, allocations: 0.5488 MB / 471.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.402e-05/0.1402, allocations: 48 kB / 471.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005603/0.1408, allocations: 291.5 kB / 471.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.1411, allocations: 303.2 kB / 471.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004027/0.1415, allocations: 425.9 kB / 472.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009335/0.1424, allocations: 1.08 MB / 473.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.1424, allocations: 0 / 473.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1425, allocations: 3.938 kB / 473.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1425, allocations: 0 / 473.4 MB, free: 7.855 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.002197/0.1447, allocations: 1.133 MB / 474.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.1447, allocations: 8.031 kB / 474.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006099/0.1453, allocations: 135.8 kB / 474.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.1464, allocations: 0.6593 MB / 475.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.1465, allocations: 79.64 kB / 475.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.1466, allocations: 71.97 kB / 475.5 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.148, allocations: 0.953 MB / 476.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.1481, allocations: 11.94 kB / 476.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-05/0.1481, allocations: 24 kB / 476.5 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.1482, allocations: 61.28 kB / 476.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.1495, allocations: 0.7741 MB / 477.3 MB, free: 3.809 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.005207/0.1547, allocations: 3.867 MB / 481.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008252/0.1556, allocations: 0.5128 MB / 481.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004166/0.156, allocations: 254.3 kB / 482 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.156, allocations: 7.984 kB / 482 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.1561, allocations: 38.56 kB / 482 MB, free: 14.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 3.056e-06/0.1561, allocations: 0 / 482 MB, free: 14.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=55): time 0.01069/0.1668, allocations: 3.738 MB / 485.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.1669, allocations: 111.2 kB / 485.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/0.1676, allocations: 0.5261 MB / 486.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.1676, allocations: 33.7 kB / 486.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.1679, allocations: 403 kB / 486.8 MB, free: 9.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.168, allocations: 189.3 kB / 487 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.1682, allocations: 130.5 kB / 487.1 MB, free: 9.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1684, allocations: 374.8 kB / 487.5 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004509/0.1689, allocations: 281.8 kB / 487.8 MB, free: 8.867 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/0.1695, allocations: 0.4994 MB / 488.3 MB, free: 8.258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.1706, allocations: 0.8481 MB / 489.1 MB, free: 7.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.1706, allocations: 8 kB / 489.1 MB, free: 7.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003211/0.1738, allocations: 1.453 MB / 490.6 MB, free: 5.793 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.1738, allocations: 8 kB / 490.6 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.1739, allocations: 8 kB / 490.6 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/0.1754, allocations: 447.2 kB / 491 MB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.1758, allocations: 115.8 kB / 491.1 MB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009635/0.1855, allocations: 8.447 MB / 499.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006819/0.1862, allocations: 31.98 kB / 499.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.1863, allocations: 32 kB / 499.6 MB, free: 12.17 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.000512/0.1868, allocations: 310.4 kB / 499.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.1869, allocations: 63.25 kB / 0.4883 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00296/0.1899, allocations: 1.314 MB / 0.4896 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1899, allocations: 4 kB / 0.4896 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1899, allocations: 4 kB / 0.4896 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1899, allocations: 3.984 kB / 0.4896 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004219/0.1941, allocations: 2.237 MB / 0.4918 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1942, allocations: 0 / 0.4918 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.1945, allocations: 67.89 kB / 0.4918 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/0.1959, allocations: 439.5 kB / 0.4922 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/0.1959, allocations: 15.94 kB / 0.4923 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008931/0.2049, allocations: 8.179 MB / 0.5002 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-05/0.2049, allocations: 3.984 kB / 0.5003 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003565/0.2085, allocations: 1.843 MB / 0.5021 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/0.2089, allocations: 196.3 kB / 0.5022 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.428e-05/0.209, allocations: 15.98 kB / 0.5023 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.2094, allocations: 16 kB / 0.5023 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/0.2096, allocations: 64.47 kB / 0.5023 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/0.2097, allocations: 16 kB / 0.5023 GB, free: 12.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005041/0.2102, allocations: 374.8 kB / 0.5027 GB, free: 12.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2102, allocations: 0 / 0.5027 GB, free: 12.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001041/0.2112, allocations: 252 kB / 0.5029 GB, free: 11.96 MB / 398.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.000305/0.2115, allocations: 143.1 kB / 0.5031 GB, free: 11.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.2137, allocations: 1.335 MB / 0.5044 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2137, allocations: 0 / 0.5044 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.2149, allocations: 0.9782 MB / 0.5053 GB, free: 9.395 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009319/0.2159, allocations: 167.3 kB / 0.5055 GB, free: 9.234 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.2187, allocations: 2.058 MB / 0.5075 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006539/0.2194, allocations: 1.048 MB / 0.5085 GB, free: 6.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.2195, allocations: 51.36 kB / 0.5086 GB, free: 6.008 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2195, allocations: 0 / 0.5086 GB, free: 6.008 MB / 398.1 MB Notification: Performance of Templates: time 0.2523/0.4718, allocations: 24.59 MB / 0.5326 GB, free: 61.38 MB / 398.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