Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.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) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008526/0.0008526, allocations: 102 kB / 15.71 MB, free: 456 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008734/0.0008734, allocations: 176.9 kB / 16.58 MB, free: 6.859 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.553/1.553, allocations: 205.4 MB / 222.8 MB, free: 5.867 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05685/0.05685, allocations: 14.16 MB / 285.2 MB, free: 7.355 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.0004692/0.0004693, allocations: 16 kB / 348.1 MB, free: 18.57 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09945/0.09992, allocations: 51.12 MB / 399.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate): time 0.00474/0.1047, allocations: 4.908 MB / 404.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003715/0.1085, allocations: 2.74 MB / 406.9 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002707/0.1087, allocations: 8 kB / 406.9 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005321/0.1093, allocations: 210.8 kB / 407.1 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.1113, allocations: 0.9682 MB / 408.1 MB, free: 6.535 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007168/0.112, allocations: 374.6 kB / 408.5 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.1135, allocations: 1.343 MB / 409.8 MB, free: 4.824 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.1137, allocations: 77.73 kB / 409.9 MB, free: 4.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004577/0.1142, allocations: 406.3 kB / 410.3 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005098/0.1147, allocations: 474.2 kB / 410.7 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.018e-05/0.1148, allocations: 36 kB / 410.8 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005258/0.1153, allocations: 251.8 kB / 411 MB, free: 3.605 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.1154, allocations: 139.3 kB / 411.2 MB, free: 3.469 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.1156, allocations: 161.3 kB / 411.3 MB, free: 3.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007832/0.1164, allocations: 0.8144 MB / 412.1 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1164, allocations: 0 / 412.1 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1164, allocations: 0 / 412.1 MB, free: 2.488 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1164, allocations: 0 / 412.1 MB, free: 2.488 MB / 302.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.002974/0.1194, allocations: 1.228 MB / 413.4 MB, free: 1.207 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1194, allocations: 15.97 kB / 413.4 MB, free: 1.191 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003479/0.1198, allocations: 107 kB / 413.5 MB, free: 1.086 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007922/0.1206, allocations: 0.5039 MB / 414 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.445e-05/0.1207, allocations: 45 kB / 414 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.1208, allocations: 67.89 kB / 414.1 MB, free: 448 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007848/0.1216, allocations: 486.1 kB / 414.6 MB, free: 15.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1216, allocations: 7.938 kB / 414.6 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.994e-05/0.1216, allocations: 16 kB / 414.6 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.1216, allocations: 8 kB / 414.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007891/0.1224, allocations: 499.7 kB / 415.1 MB, free: 15.43 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.004119/0.1266, allocations: 2.879 MB / 418 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.1278, allocations: 0.7765 MB / 418.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003708/0.1282, allocations: 242.5 kB / 419 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.273e-05/0.1283, allocations: 4.562 kB / 419 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1283, allocations: 39.12 kB / 419 MB, free: 11.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.144e-06/0.1283, allocations: 0 / 419 MB, free: 11.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005067/0.1334, allocations: 2.094 MB / 421.1 MB, free: 8.953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.1335, allocations: 59.97 kB / 421.2 MB, free: 8.883 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/0.134, allocations: 0.4948 MB / 421.7 MB, free: 8.375 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.1341, allocations: 41.7 kB / 421.7 MB, free: 8.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.1343, allocations: 261.2 kB / 422 MB, free: 8.066 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.1345, allocations: 220.7 kB / 422.2 MB, free: 7.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.1345, allocations: 20 kB / 422.2 MB, free: 7.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1347, allocations: 378.8 kB / 422.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005368/0.1352, allocations: 329.9 kB / 422.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000601/0.1358, allocations: 413.4 kB / 423.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/0.1365, allocations: 383 kB / 423.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1365, allocations: 0 / 423.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004534/0.141, allocations: 1.605 MB / 425.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.692e-05/0.1411, allocations: 114.8 kB / 425.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.1411, allocations: 3.953 kB / 425.4 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004556/0.1457, allocations: 1.022 MB / 426.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/0.1465, allocations: 203.8 kB / 426.6 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2133/0.3598, allocations: 9.363 MB / 436 MB, free: 32.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00067/0.3605, allocations: 35.94 kB / 436 MB, free: 32.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/0.3606, allocations: 28.22 kB / 436 MB, free: 32.19 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.3606, allocations: 3.25 kB / 436 MB, free: 32.19 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002773/0.3634, allocations: 1.196 MB / 437.2 MB, free: 31.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3634, allocations: 1.469 kB / 437.2 MB, free: 31.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002181/0.3656, allocations: 0.6077 MB / 437.8 MB, free: 31.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008648/0.3665, allocations: 223 kB / 438.1 MB, free: 31.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008237/0.3747, allocations: 10.56 MB / 448.6 MB, free: 21.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006546/0.3754, allocations: 42.84 kB / 448.7 MB, free: 21.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.3755, allocations: 31.31 kB / 448.7 MB, free: 21.7 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 (87): * Single equations (assignments): 82 * 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: 5 * Mixed (continuous/discrete) equation systems: 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,3 7,4 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003668/0.3758, allocations: 270.1 kB / 449 MB, free: 21.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.376, allocations: 62.59 kB / 449 MB, free: 21.42 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.3775, allocations: 0.7942 MB / 449.8 MB, free: 21.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.3775, allocations: 6.531 kB / 449.8 MB, free: 21.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3775, allocations: 2.688 kB / 449.8 MB, free: 21.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.3775, allocations: 4.422 kB / 449.8 MB, free: 21.07 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.002526/0.3801, allocations: 1.553 MB / 451.4 MB, free: 20.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3801, allocations: 0.9375 kB / 451.4 MB, free: 20.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005948/0.3807, allocations: 133.8 kB / 451.5 MB, free: 20.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008404/0.3815, allocations: 276.5 kB / 451.8 MB, free: 20.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.3816, allocations: 20.39 kB / 451.8 MB, free: 20.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002895/0.3845, allocations: 2.384 MB / 454.2 MB, free: 18.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3845, allocations: 5.266 kB / 454.2 MB, free: 18.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.3863, allocations: 1.121 MB / 455.3 MB, free: 17.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.3866, allocations: 181.5 kB / 455.5 MB, free: 17.63 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.027e-05/0.3866, allocations: 15.56 kB / 455.5 MB, free: 17.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.387, allocations: 31.59 kB / 455.5 MB, free: 17.6 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.3871, allocations: 44.69 kB / 455.6 MB, free: 17.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.3871, allocations: 18.45 kB / 455.6 MB, free: 17.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003538/0.3875, allocations: 327.3 kB / 455.9 MB, free: 17.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3875, allocations: 0 / 455.9 MB, free: 17.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001494/0.389, allocations: 449.4 kB / 456.3 MB, free: 17.38 MB / 318.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.0002308/0.3893, allocations: 160.1 kB / 456.5 MB, free: 17.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004367/0.3936, allocations: 3.004 MB / 459.5 MB, free: 15.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3936, allocations: 0 / 459.5 MB, free: 15.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009574/0.3946, allocations: 0.52 MB / 460 MB, free: 15.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006167/0.3952, allocations: 89.16 kB / 460.1 MB, free: 14.98 MB / 318.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.00213/0.3974, allocations: 1.682 MB / 461.8 MB, free: 13.9 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.3977, allocations: 0.9221 MB / 462.7 MB, free: 13.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.3979, allocations: 40.89 kB / 462.8 MB, free: 13.18 MB / 318.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3979, allocations: 7.938 kB / 462.8 MB, free: 13.17 MB / 318.1 MB Notification: Performance of Templates: time 0.01607/0.414, allocations: 16.63 MB / 479.4 MB, free: 14.04 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.makefile make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.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_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurateCalcHelperMain.o OMCppPowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurateCalcHelperMain.o] Error 1