Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009283/0.0009288, allocations: 91.75 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.00115/0.00115, allocations: 182.4 kB / 18.21 MB, free: 5.191 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.79/1.79, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1716/0.1716, allocations: 38.05 MB / 310.7 MB, free: 5.906 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.0005576/0.0005576, allocations: 24 kB / 377.8 MB, free: 2.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3368, allocations: 56.33 MB / 434.2 MB, free: 18.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.005357/0.3423, allocations: 5.036 MB / 439.2 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.345, allocations: 1.707 MB / 440.9 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003474/0.3454, allocations: 27.81 kB / 440.9 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.3458, allocations: 91.42 kB / 441 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005895/0.3464, allocations: 242.7 kB / 441.2 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.3467, allocations: 115.9 kB / 441.4 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006245/0.3473, allocations: 0.7163 MB / 442.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.3476, allocations: 313.6 kB / 442.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.3479, allocations: 191.1 kB / 442.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.3482, allocations: 223 kB / 442.8 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.825e-05/0.3482, allocations: 20 kB / 442.8 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.965e-05/0.3483, allocations: 20 kB / 442.8 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.564e-05/0.3484, allocations: 99.64 kB / 442.9 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.3485, allocations: 228.6 kB / 443.1 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.3488, allocations: 387 kB / 443.5 MB, free: 9.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3489, allocations: 0 / 443.5 MB, free: 9.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3489, allocations: 0 / 443.5 MB, free: 9.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.3489, allocations: 0 / 443.5 MB, free: 9.23 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001023/0.3499, allocations: 0.6407 MB / 444.2 MB, free: 8.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.35, allocations: 8.031 kB / 444.2 MB, free: 8.535 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.451e-05/0.35, allocations: 44.47 kB / 444.2 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.3505, allocations: 403.9 kB / 444.6 MB, free: 8.059 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.958e-05/0.3506, allocations: 54.7 kB / 444.7 MB, free: 8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.769e-05/0.3507, allocations: 36 kB / 444.7 MB, free: 7.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000597/0.3513, allocations: 436.1 kB / 445.1 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.3513, allocations: 7.844 kB / 445.1 MB, free: 7.492 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.3514, allocations: 15.94 kB / 445.1 MB, free: 7.477 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.3514, allocations: 8 kB / 445.2 MB, free: 7.469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.3518, allocations: 282 kB / 445.4 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.3536, allocations: 1.849 MB / 447.3 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.3539, allocations: 187.6 kB / 447.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.354, allocations: 74.61 kB / 447.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.354, allocations: 7.938 kB / 447.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.3541, allocations: 34.56 kB / 447.6 MB, free: 4.879 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.3541, allocations: 0 / 447.6 MB, free: 4.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001174/0.3553, allocations: 0.7139 MB / 448.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.3553, allocations: 110.8 kB / 448.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.3556, allocations: 312.4 kB / 448.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.3556, allocations: 29.7 kB / 448.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.3557, allocations: 247.5 kB / 449 MB, free: 3.387 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.3558, allocations: 67 kB / 449 MB, free: 3.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.3558, allocations: 41.69 kB / 449.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3559, allocations: 338.9 kB / 449.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.3561, allocations: 80.55 kB / 449.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.3563, allocations: 202 kB / 449.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.3566, allocations: 296 kB / 450 MB, free: 2.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3566, allocations: 4 kB / 450 MB, free: 2.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004489/0.3571, allocations: 329.1 kB / 450.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3571, allocations: 8 kB / 450.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3571, allocations: 4 kB / 450.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3571, allocations: 8 kB / 450.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.3574, allocations: 79.89 kB / 450.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3574, allocations: 7.938 kB / 450.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.3576, allocations: 12 kB / 450.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.3576, allocations: 20.12 kB / 450.4 MB, free: 1.785 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.3578, allocations: 193.5 kB / 450.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.3579, allocations: 35.56 kB / 450.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.3582, allocations: 200.6 kB / 450.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3582, allocations: 0 / 450.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.3582, allocations: 8 kB / 450.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3582, allocations: 3.984 kB / 450.9 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007455/0.359, allocations: 0.6191 MB / 451.5 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.359, allocations: 3.984 kB / 451.5 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.3592, allocations: 35.98 kB / 451.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.3592, allocations: 4 kB / 451.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.3593, allocations: 4 kB / 451.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3593, allocations: 8.031 kB / 451.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3593, allocations: 3.938 kB / 451.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005091/0.3598, allocations: 459.9 kB / 452 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.3599, allocations: 104.8 kB / 452.1 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.813e-05/0.3599, allocations: 8 kB / 452.1 MB, free: 0 / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.3601, allocations: 4.047 kB / 452.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.3602, allocations: 11.94 kB / 452.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3602, allocations: 7.984 kB / 452.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.3605, allocations: 230.9 kB / 452.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3605, allocations: 0 / 452.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000408/0.3609, allocations: 76 kB / 452.4 MB, free: 15.67 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001285/0.361, allocations: 95.25 kB / 452.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004576/0.3615, allocations: 201.3 kB / 452.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3615, allocations: 4.125 kB / 452.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.3617, allocations: 79.91 kB / 452.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007208/0.3624, allocations: 88.95 kB / 452.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.3642, allocations: 1.167 MB / 454.1 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.3647, allocations: 0.8188 MB / 454.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-05/0.3648, allocations: 31.44 kB / 454.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3648, allocations: 0 / 454.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of Templates: time 0.007344/0.3722, allocations: 4.453 MB / 459.4 MB, free: 8.664 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.DCcharSpeedCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeedCalcHelperMain.o] Error 1