Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.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/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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(PowerGrids.Electrical.Test.SynchronousMachine4Windings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4Windings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009487/0.0009488, allocations: 93.09 kB / 16.34 MB, free: 6.805 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.0008867/0.0008867, allocations: 187.2 kB / 17.23 MB, free: 6.645 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.602/1.602, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05774/0.05774, allocations: 14.16 MB / 285.8 MB, free: 14.08 MB / 238.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.0005261/0.0005261, allocations: 27.91 kB / 347.5 MB, free: 340 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.286, allocations: 51.1 MB / 398.6 MB, free: 47.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.004565/0.2906, allocations: 4.903 MB / 403.5 MB, free: 43.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004207/0.2948, allocations: 2.741 MB / 406.2 MB, free: 41.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004744/0.2953, allocations: 8 kB / 406.2 MB, free: 41.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000585/0.2959, allocations: 208.8 kB / 406.4 MB, free: 41.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.2981, allocations: 0.9699 MB / 407.4 MB, free: 40.67 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007855/0.2989, allocations: 377.6 kB / 407.8 MB, free: 40.37 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.3004, allocations: 1.325 MB / 409.1 MB, free: 39.58 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.3006, allocations: 77.45 kB / 409.2 MB, free: 39.55 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005071/0.3011, allocations: 401 kB / 409.5 MB, free: 39.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000479/0.3016, allocations: 456.5 kB / 410 MB, free: 39.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.342e-05/0.3017, allocations: 36.47 kB / 410 MB, free: 39.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006269/0.3024, allocations: 258 kB / 410.3 MB, free: 38.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.397e-05/0.3025, allocations: 126.2 kB / 410.4 MB, free: 38.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.3026, allocations: 160.5 kB / 410.6 MB, free: 38.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000726/0.3034, allocations: 0.8005 MB / 411.4 MB, free: 38.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3034, allocations: 1.219 kB / 411.4 MB, free: 38.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3034, allocations: 0 / 411.4 MB, free: 38.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.3034, allocations: 0 / 411.4 MB, free: 38.18 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002702/0.3061, allocations: 1.219 MB / 412.6 MB, free: 37.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3062, allocations: 12.03 kB / 412.6 MB, free: 37.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003328/0.3065, allocations: 118.9 kB / 412.7 MB, free: 36.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007098/0.3072, allocations: 0.5078 MB / 413.2 MB, free: 36.37 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.3073, allocations: 45 kB / 413.3 MB, free: 36.33 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.063e-05/0.3073, allocations: 63.91 kB / 413.3 MB, free: 36.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006606/0.308, allocations: 490 kB / 413.8 MB, free: 35.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.308, allocations: 0 / 413.8 MB, free: 35.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.3081, allocations: 16 kB / 413.8 MB, free: 35.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.3081, allocations: 12 kB / 413.8 MB, free: 35.74 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006738/0.3088, allocations: 487.7 kB / 414.3 MB, free: 35.27 MB / 318.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.003288/0.3121, allocations: 2.875 MB / 417.2 MB, free: 32.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.3131, allocations: 0.7688 MB / 417.9 MB, free: 31.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/0.3134, allocations: 242.5 kB / 418.2 MB, free: 31.03 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.368e-05/0.3135, allocations: 8.562 kB / 418.2 MB, free: 31.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.3135, allocations: 39.12 kB / 418.2 MB, free: 30.97 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.613e-06/0.3135, allocations: 0 / 418.2 MB, free: 30.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004404/0.3179, allocations: 2.094 MB / 420.3 MB, free: 28.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.318, allocations: 59.97 kB / 420.4 MB, free: 28.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.3184, allocations: 0.4909 MB / 420.9 MB, free: 28.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/0.3185, allocations: 41.7 kB / 420.9 MB, free: 28.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.3186, allocations: 265.1 kB / 421.2 MB, free: 27.92 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.3188, allocations: 220.8 kB / 421.4 MB, free: 27.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.3188, allocations: 23.94 kB / 421.4 MB, free: 27.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3189, allocations: 374.8 kB / 421.8 MB, free: 27.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004308/0.3194, allocations: 317.9 kB / 422.1 MB, free: 26.99 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.3199, allocations: 397.4 kB / 422.5 MB, free: 26.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/0.3204, allocations: 367 kB / 422.8 MB, free: 26.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3204, allocations: 0 / 422.8 MB, free: 26.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002389/0.3228, allocations: 1.275 MB / 424.1 MB, free: 24.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3228, allocations: 8 kB / 424.1 MB, free: 24.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3228, allocations: 4.062 kB / 424.1 MB, free: 24.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002032/0.3249, allocations: 0.6183 MB / 424.7 MB, free: 24.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007837/0.3257, allocations: 231.6 kB / 425 MB, free: 24.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00739/0.3331, allocations: 10.59 MB / 435.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006499/0.3337, allocations: 35.89 kB / 435.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.3338, allocations: 32 kB / 435.6 MB, free: 12.47 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {3 12,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002619/0.3341, allocations: 205.6 kB / 435.8 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/0.3342, allocations: 67.25 kB / 435.9 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.3355, allocations: 0.787 MB / 436.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3355, allocations: 7.938 kB / 436.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3355, allocations: 4 kB / 436.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3355, allocations: 0 / 436.7 MB, free: 11.38 MB / 318.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 postOpt removeSimpleEquations (simulation): time 0.001882/0.3374, allocations: 1.564 MB / 438.2 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3375, allocations: 3.953 kB / 438.3 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/0.338, allocations: 131.9 kB / 438.4 MB, free: 9.602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007023/0.3387, allocations: 274.4 kB / 438.6 MB, free: 9.332 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.3387, allocations: 12 kB / 438.7 MB, free: 9.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002657/0.3414, allocations: 2.384 MB / 441 MB, free: 6.801 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.3414, allocations: 4 kB / 441 MB, free: 6.797 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/0.3539, allocations: 8.162 MB / 449.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/0.3542, allocations: 184.2 kB / 449.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.505e-05/0.3543, allocations: 15.98 kB / 449.4 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.3547, allocations: 16 kB / 449.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.3549, allocations: 52.44 kB / 449.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.3549, allocations: 15.98 kB / 449.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004786/0.3554, allocations: 334.9 kB / 449.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3554, allocations: 0 / 449.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001128/0.3565, allocations: 344 kB / 450.2 MB, free: 13.39 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (machine.theta,machine.omegaPu,machine.lambdaDPu,machine.lambdafPu,machine.lambdaQ1Pu,machine.lambdaQ2Pu) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002744/0.3568, allocations: 144.8 kB / 450.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002725/0.3595, allocations: 1.694 MB / 452 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3596, allocations: 0 / 452 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009536/0.3605, allocations: 0.5249 MB / 452.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005542/0.3611, allocations: 83.14 kB / 452.6 MB, free: 10.83 MB / 334.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.365, allocations: 2.339 MB / 454.9 MB, free: 8.449 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000755/0.3658, allocations: 0.927 MB / 455.9 MB, free: 7.496 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.3659, allocations: 51.42 kB / 455.9 MB, free: 7.445 MB / 334.1 MB Notification: Performance of SimCode: time 7.81e-07/0.366, allocations: 0 / 455.9 MB, free: 7.445 MB / 334.1 MB Notification: Performance of Templates: time 0.02362/0.3896, allocations: 20.07 MB / 476 MB, free: 3.34 MB / 350.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.makefile make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.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 OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsCalcHelperMain.o] Error 1