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.000878/0.000878, allocations: 94.06 kB / 16.95 MB, free: 6.453 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.0008192/0.0008192, allocations: 179.2 kB / 17.84 MB, free: 6 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.588/1.588, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1738/0.1738, allocations: 38.05 MB / 310.3 MB, free: 6.02 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.0004878/0.0004878, allocations: 16 kB / 377.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2546, allocations: 56.33 MB / 433.5 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.004577/0.2592, allocations: 4.805 MB / 438.3 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.2615, allocations: 1.618 MB / 439.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003068/0.2619, allocations: 31.81 kB / 439.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.2622, allocations: 107.2 kB / 440 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005851/0.2628, allocations: 278.4 kB / 440.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.2631, allocations: 143.8 kB / 440.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005573/0.2637, allocations: 0.6149 MB / 441.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.264, allocations: 276.4 kB / 441.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.2643, allocations: 195.1 kB / 441.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.2645, allocations: 215.2 kB / 441.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.2646, allocations: 20 kB / 441.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.813e-05/0.2646, allocations: 20 kB / 441.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.563e-05/0.2647, allocations: 103.6 kB / 441.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.717e-05/0.2648, allocations: 101.5 kB / 442 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.2651, allocations: 394.9 kB / 442.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2651, allocations: 0 / 442.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2651, allocations: 0 / 442.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.2651, allocations: 0 / 442.4 MB, free: 9.891 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.0008986/0.266, allocations: 0.6367 MB / 443 MB, free: 9.207 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2661, allocations: 8.031 kB / 443 MB, free: 9.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.2661, allocations: 47.48 kB / 443 MB, free: 9.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.2666, allocations: 395 kB / 443.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.129e-05/0.2666, allocations: 54.7 kB / 443.5 MB, free: 8.664 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.2667, allocations: 39.98 kB / 443.5 MB, free: 8.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005501/0.2673, allocations: 428 kB / 443.9 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.2673, allocations: 11.98 kB / 444 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.2673, allocations: 12 kB / 444 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.2673, allocations: 11.95 kB / 444 MB, free: 8.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.2678, allocations: 274 kB / 444.2 MB, free: 7.863 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.2694, allocations: 1.845 MB / 446.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.2696, allocations: 191.6 kB / 446.3 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.2698, allocations: 74.59 kB / 446.4 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.2698, allocations: 4 kB / 446.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.2698, allocations: 38.56 kB / 446.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.2698, allocations: 0 / 446.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001069/0.2709, allocations: 0.7101 MB / 447.1 MB, free: 4.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.271, allocations: 106.8 kB / 447.2 MB, free: 4.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.2712, allocations: 308.4 kB / 447.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.2712, allocations: 37.69 kB / 447.5 MB, free: 4.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.2714, allocations: 239.5 kB / 447.8 MB, free: 4.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.2714, allocations: 75.02 kB / 447.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.2714, allocations: 4 kB / 447.9 MB, free: 3.992 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.2715, allocations: 346.8 kB / 448.2 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2717, allocations: 76.61 kB / 448.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.2719, allocations: 205.6 kB / 448.5 MB, free: 3.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.272, allocations: 108.8 kB / 448.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.272, allocations: 0 / 448.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004608/0.2725, allocations: 325.7 kB / 448.9 MB, free: 2.883 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2725, allocations: 12.5 kB / 448.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.2726, allocations: 8 kB / 448.9 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2726, allocations: 8 kB / 448.9 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.2728, allocations: 79.89 kB / 449 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.2729, allocations: 4 kB / 449 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.273, allocations: 15.91 kB / 449 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.273, allocations: 23.94 kB / 449 MB, free: 2.734 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.2732, allocations: 185.6 kB / 449.2 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.2733, allocations: 39.58 kB / 449.3 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.2736, allocations: 195.8 kB / 449.5 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.2736, allocations: 7.938 kB / 449.5 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.2736, allocations: 0 / 449.5 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.2736, allocations: 0 / 449.5 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007004/0.2744, allocations: 0.6201 MB / 450.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2744, allocations: 0 / 450.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.2746, allocations: 43.97 kB / 450.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2746, allocations: 0 / 450.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.2746, allocations: 8 kB / 450.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2746, allocations: 0 / 450.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2746, allocations: 4 kB / 450.1 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.2751, allocations: 460.4 kB / 450.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.2751, allocations: 104.8 kB / 450.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.2752, allocations: 8 kB / 450.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.2754, allocations: 8 kB / 450.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.2754, allocations: 11.98 kB / 450.7 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.2754, allocations: 4 kB / 450.7 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.2756, allocations: 219 kB / 450.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.042e-06/0.2756, allocations: 0 / 450.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003551/0.276, allocations: 75.94 kB / 451 MB, free: 0.6523 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.926e-05/0.2761, allocations: 107.2 kB / 451.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003451/0.2764, allocations: 195.6 kB / 451.3 MB, free: 356 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2764, allocations: 1.125 kB / 451.3 MB, free: 356 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.2766, allocations: 87.88 kB / 451.4 MB, free: 268 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005973/0.2772, allocations: 82.39 kB / 451.5 MB, free: 184 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.2788, allocations: 1.15 MB / 452.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.2793, allocations: 0.8187 MB / 453.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.592e-05/0.2794, allocations: 31.44 kB / 453.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2794, allocations: 0 / 453.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of Templates: time 0.00662/0.286, allocations: 4.462 MB / 457.9 MB, free: 9.648 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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