Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.0008814/0.0008813, allocations: 93.31 kB / 17.31 MB, free: 6.535 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.001162/0.001162, allocations: 175.5 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1783/0.1783, allocations: 38.04 MB / 310.7 MB, free: 5.996 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005679/0.0005679, allocations: 12 kB / 377.8 MB, free: 2.805 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.314, allocations: 56.33 MB / 434.1 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.0064/0.3205, allocations: 6.734 MB / 440.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004632/0.3251, allocations: 2.926 MB / 443.8 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007345/0.3259, allocations: 47.69 kB / 443.9 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007564/0.3267, allocations: 206.8 kB / 444.1 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.328, allocations: 0.5408 MB / 444.6 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006072/0.3286, allocations: 251.7 kB / 444.8 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.3299, allocations: 1.621 MB / 446.5 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009989/0.3309, allocations: 0.8367 MB / 447.3 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000428/0.3314, allocations: 390.3 kB / 447.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000566/0.3319, allocations: 0.5098 MB / 448.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.876e-05/0.332, allocations: 47.94 kB / 448.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004396/0.3325, allocations: 271.6 kB / 448.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.3327, allocations: 283.2 kB / 448.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003066/0.333, allocations: 423.7 kB / 449.2 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007387/0.3338, allocations: 1.06 MB / 450.2 MB, free: 2.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3338, allocations: 0 / 450.2 MB, free: 2.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3338, allocations: 0 / 450.2 MB, free: 2.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.3338, allocations: 0 / 450.2 MB, free: 2.492 MB / 318.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.001777/0.3356, allocations: 0.9929 MB / 451.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3356, allocations: 8.031 kB / 451.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000609/0.3362, allocations: 135.8 kB / 451.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008942/0.3371, allocations: 0.6591 MB / 452 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.3373, allocations: 87.67 kB / 452.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.3374, allocations: 75.94 kB / 452.2 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.3388, allocations: 0.957 MB / 453.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.3388, allocations: 0 / 453.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.378e-05/0.3389, allocations: 31.98 kB / 453.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.339, allocations: 53.23 kB / 453.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.3402, allocations: 0.7857 MB / 454 MB, free: 14.57 MB / 334.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.004796/0.345, allocations: 3.879 MB / 457.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008107/0.3459, allocations: 0.5245 MB / 458.4 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/0.3463, allocations: 239.1 kB / 458.7 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.3463, allocations: 15.92 kB / 458.7 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.3464, allocations: 46.36 kB / 458.7 MB, free: 9.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 2.464e-06/0.3464, allocations: 0 / 458.7 MB, free: 9.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.01057/0.357, allocations: 3.79 MB / 462.5 MB, free: 5.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.3571, allocations: 111.2 kB / 462.6 MB, free: 5.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007237/0.3578, allocations: 0.5222 MB / 463.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/0.3579, allocations: 37.7 kB / 463.2 MB, free: 4.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/0.3582, allocations: 395 kB / 463.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.3584, allocations: 197.2 kB / 463.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.727e-05/0.3585, allocations: 69.61 kB / 463.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3586, allocations: 366.8 kB / 464.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004513/0.3591, allocations: 281.8 kB / 464.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005969/0.3597, allocations: 0.5111 MB / 465 MB, free: 3.008 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.3609, allocations: 0.8559 MB / 465.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3609, allocations: 4 kB / 465.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003213/0.3641, allocations: 1.449 MB / 467.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.3641, allocations: 11.12 kB / 467.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.3642, allocations: 16.23 kB / 467.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/0.3657, allocations: 454.4 kB / 467.8 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004451/0.3662, allocations: 115.8 kB / 467.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009935/0.3761, allocations: 8.457 MB / 476.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007339/0.3769, allocations: 35.89 kB / 476.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/0.377, allocations: 39.98 kB / 476.4 MB, free: 6.875 MB / 350.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.0005153/0.3775, allocations: 305.6 kB / 476.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.3776, allocations: 71.27 kB / 476.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003001/0.3806, allocations: 1.306 MB / 478.1 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.3807, allocations: 8 kB / 478.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3807, allocations: 4 kB / 478.1 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.3807, allocations: 3.984 kB / 478.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004201/0.3849, allocations: 2.249 MB / 480.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3849, allocations: 7.984 kB / 480.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.3852, allocations: 63.89 kB / 480.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00133/0.3866, allocations: 442.7 kB / 480.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.3866, allocations: 12 kB / 480.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008982/0.3956, allocations: 8.196 MB / 489 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.3957, allocations: 15.84 kB / 489.1 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003746/0.3994, allocations: 1.844 MB / 490.9 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003975/0.3998, allocations: 196.3 kB / 491.1 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.121e-05/0.3999, allocations: 12 kB / 491.1 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/0.4003, allocations: 19.98 kB / 491.1 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/0.4006, allocations: 68.42 kB / 491.2 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/0.4006, allocations: 19.98 kB / 491.2 MB, free: 7.223 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006221/0.4013, allocations: 370.8 kB / 491.6 MB, free: 6.863 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4013, allocations: 0 / 491.6 MB, free: 6.863 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00122/0.4025, allocations: 248 kB / 491.8 MB, free: 6.621 MB / 366.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.000376/0.4029, allocations: 138.5 kB / 492 MB, free: 6.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002207/0.4051, allocations: 1.346 MB / 493.3 MB, free: 5.082 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.4051, allocations: 4.062 kB / 493.3 MB, free: 5.078 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.4064, allocations: 0.9627 MB / 494.3 MB, free: 4.066 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.4075, allocations: 169.9 kB / 494.4 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/0.4105, allocations: 2.123 MB / 496.6 MB, free: 1.727 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006996/0.4112, allocations: 1.056 MB / 497.6 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.4114, allocations: 47.42 kB / 497.7 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4114, allocations: 0 / 497.7 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of Templates: time 0.02922/0.4406, allocations: 24.53 MB / 0.5099 GB, free: 8.039 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.makefile make -j1 -f PowerSystems_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_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeedCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeedCalcHelperMain.o] Error 1