Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008144/0.0008144, allocations: 92.55 kB / 16.96 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.0009766/0.0009766, allocations: 183.3 kB / 17.85 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.603/1.603, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1955/0.1955, allocations: 38.04 MB / 310.3 MB, free: 6.031 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.0005312/0.0005313, allocations: 12 kB / 377.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2625, allocations: 56.33 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.004869/0.2674, allocations: 4.559 MB / 438 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.27, allocations: 1.626 MB / 439.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005416/0.2705, allocations: 27.81 kB / 439.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004942/0.271, allocations: 111.2 kB / 439.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.2721, allocations: 290.4 kB / 440.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.2725, allocations: 115.8 kB / 440.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007621/0.2733, allocations: 0.5448 MB / 440.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.2736, allocations: 113.8 kB / 440.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.2739, allocations: 159.2 kB / 441 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.2743, allocations: 199.2 kB / 441.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.346e-05/0.2743, allocations: 12 kB / 441.2 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.363e-05/0.2744, allocations: 20 kB / 441.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.375e-05/0.2745, allocations: 91.64 kB / 441.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.2747, allocations: 93.52 kB / 441.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.2749, allocations: 279.3 kB / 441.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2749, allocations: 0 / 441.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2749, allocations: 0 / 441.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.2749, allocations: 0 / 441.7 MB, free: 10.58 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009433/0.2759, allocations: 0.6047 MB / 442.3 MB, free: 9.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2759, allocations: 12.03 kB / 442.3 MB, free: 9.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.996e-05/0.276, allocations: 43.48 kB / 442.3 MB, free: 9.875 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.2766, allocations: 362.6 kB / 442.7 MB, free: 9.484 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.2766, allocations: 20.56 kB / 442.7 MB, free: 9.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.2767, allocations: 32 kB / 442.7 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.2771, allocations: 326.2 kB / 443.1 MB, free: 9.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.2771, allocations: 0 / 443.1 MB, free: 9.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.2772, allocations: 15.98 kB / 443.1 MB, free: 9.062 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.2772, allocations: 12 kB / 443.1 MB, free: 9.051 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.2775, allocations: 209.4 kB / 443.3 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.2788, allocations: 1.502 MB / 444.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.2791, allocations: 198.4 kB / 445 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.667e-05/0.2792, allocations: 75.47 kB / 445.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.2793, allocations: 0 / 445.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.2793, allocations: 38.56 kB / 445.1 MB, free: 6.883 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.934e-06/0.2793, allocations: 0 / 445.1 MB, free: 6.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009135/0.2802, allocations: 0.6897 MB / 445.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.2803, allocations: 132.5 kB / 445.9 MB, free: 5.977 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.2805, allocations: 314.1 kB / 446.2 MB, free: 5.664 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.2806, allocations: 29.7 kB / 446.3 MB, free: 5.629 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.2807, allocations: 219.7 kB / 446.5 MB, free: 5.406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.2807, allocations: 59.11 kB / 446.5 MB, free: 5.348 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.2807, allocations: 8 kB / 446.5 MB, free: 5.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.591e-05/0.2808, allocations: 346.8 kB / 446.9 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.2809, allocations: 43.98 kB / 446.9 MB, free: 4.949 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.281, allocations: 148.8 kB / 447.1 MB, free: 4.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.2811, allocations: 75.92 kB / 447.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2811, allocations: 0 / 447.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003177/0.2815, allocations: 253 kB / 447.4 MB, free: 4.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2815, allocations: 11.98 kB / 447.4 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.2815, allocations: 7.938 kB / 447.4 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.2815, allocations: 7.953 kB / 447.4 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.2818, allocations: 75.91 kB / 447.5 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006154/0.2825, allocations: 1.283 MB / 448.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.2826, allocations: 8 kB / 448.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.2826, allocations: 16.16 kB / 448.8 MB, free: 2.887 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.2828, allocations: 169.7 kB / 449 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.487e-05/0.2829, allocations: 31.61 kB / 449 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.2831, allocations: 196.3 kB / 449.2 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2832, allocations: 0 / 449.2 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2832, allocations: 4 kB / 449.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2832, allocations: 7.969 kB / 449.2 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006042/0.2838, allocations: 0.5378 MB / 449.7 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2838, allocations: 3.938 kB / 449.7 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.284, allocations: 39.94 kB / 449.8 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.284, allocations: 4 kB / 449.8 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.284, allocations: 7.984 kB / 449.8 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.2841, allocations: 7.938 kB / 449.8 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2841, allocations: 4 kB / 449.8 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.2844, allocations: 499.1 kB / 450.3 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.2845, allocations: 104.6 kB / 450.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.2845, allocations: 11.95 kB / 450.4 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.2847, allocations: 4 kB / 450.4 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.2848, allocations: 15.92 kB / 450.4 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.2848, allocations: 8 kB / 450.4 MB, free: 1.137 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.285, allocations: 223.2 kB / 450.6 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.285, allocations: 0 / 450.6 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003898/0.2854, allocations: 56 kB / 450.7 MB, free: 0.8672 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * 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 9.276e-05/0.2855, allocations: 99.78 kB / 450.8 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003324/0.2858, allocations: 168.4 kB / 451 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2858, allocations: 0 / 451 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.226e-05/0.2859, allocations: 67.84 kB / 451 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000689/0.2866, allocations: 93.58 kB / 451.1 MB, free: 448 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.2882, allocations: 1.035 MB / 452.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.2886, allocations: 0.8031 MB / 453 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/0.2887, allocations: 27.44 kB / 453 MB, free: 14.51 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2887, allocations: 0 / 453 MB, free: 14.51 MB / 334.1 MB Notification: Performance of Templates: time 0.007894/0.2966, allocations: 4.674 MB / 457.7 MB, free: 9.836 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.Elementary.MachinesCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.MachinesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.MachinesCalcHelperMain.o] Error 1