Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.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.SynchronousMachine4WindingsNoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007754/0.0007755, allocations: 102.6 kB / 15.71 MB, free: 460 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.0008763/0.0008764, allocations: 172.4 kB / 16.58 MB, free: 6.395 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.507/1.507, allocations: 205.4 MB / 222.8 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05747/0.05747, allocations: 14.16 MB / 285.2 MB, free: 7.137 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.0005118/0.0005118, allocations: 15.98 kB / 346.8 MB, free: 19.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1119, allocations: 51.12 MB / 397.9 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad): time 0.004947/0.1169, allocations: 4.911 MB / 402.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00386/0.1207, allocations: 2.724 MB / 405.6 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000252/0.121, allocations: 11.94 kB / 405.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005298/0.1216, allocations: 210.9 kB / 405.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.1235, allocations: 0.9716 MB / 406.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006919/0.1242, allocations: 379.1 kB / 407.1 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.1256, allocations: 1.319 MB / 408.4 MB, free: 6.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.1258, allocations: 85.72 kB / 408.5 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/0.1262, allocations: 402.3 kB / 408.9 MB, free: 5.684 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004731/0.1267, allocations: 462.1 kB / 409.4 MB, free: 5.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.557e-05/0.1267, allocations: 36 kB / 409.4 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004889/0.1272, allocations: 251.8 kB / 409.7 MB, free: 4.949 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1273, allocations: 131.3 kB / 409.8 MB, free: 4.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.1275, allocations: 165.3 kB / 409.9 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007238/0.1282, allocations: 0.795 MB / 410.7 MB, free: 3.855 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1282, allocations: 4 kB / 410.7 MB, free: 3.852 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1282, allocations: 0 / 410.7 MB, free: 3.852 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1283, allocations: 0 / 410.7 MB, free: 3.852 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.002808/0.1311, allocations: 1.224 MB / 412 MB, free: 2.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1311, allocations: 12.03 kB / 412 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003323/0.1315, allocations: 107 kB / 412.1 MB, free: 2.457 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007957/0.1323, allocations: 0.5156 MB / 412.6 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.1323, allocations: 45 kB / 412.6 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.1324, allocations: 63.91 kB / 412.7 MB, free: 1.801 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008026/0.1332, allocations: 482.1 kB / 413.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1333, allocations: 0 / 413.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.348e-05/0.1333, allocations: 19.94 kB / 413.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.1333, allocations: 12 kB / 413.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009687/0.1343, allocations: 499.6 kB / 413.7 MB, free: 0.7969 MB / 302.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.004301/0.1386, allocations: 2.86 MB / 416.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.1399, allocations: 0.7723 MB / 417.3 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/0.1403, allocations: 238.5 kB / 417.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.423e-05/0.1403, allocations: 8.562 kB / 417.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.1404, allocations: 43.12 kB / 417.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.883e-06/0.1404, allocations: 0 / 417.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005258/0.1457, allocations: 2.098 MB / 419.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.1457, allocations: 59.97 kB / 419.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/0.1463, allocations: 0.4948 MB / 420.3 MB, free: 9.758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.193e-05/0.1464, allocations: 45.7 kB / 420.3 MB, free: 9.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.1466, allocations: 249.2 kB / 420.6 MB, free: 9.457 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.1468, allocations: 228.7 kB / 420.8 MB, free: 9.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.1469, allocations: 20 kB / 420.8 MB, free: 9.211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.1471, allocations: 378.8 kB / 421.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006606/0.1478, allocations: 317.9 kB / 421.5 MB, free: 8.523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/0.1483, allocations: 397.4 kB / 421.9 MB, free: 8.125 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/0.1489, allocations: 374.9 kB / 422.2 MB, free: 7.762 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1489, allocations: 0 / 422.2 MB, free: 7.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00298/0.1519, allocations: 1.271 MB / 423.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.1519, allocations: 8 kB / 423.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.152, allocations: 7.922 kB / 423.5 MB, free: 6.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002257/0.1542, allocations: 0.6106 MB / 424.1 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008692/0.1551, allocations: 219.7 kB / 424.3 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2179/0.373, allocations: 10.56 MB / 434.9 MB, free: 31.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008205/0.3739, allocations: 32.12 kB / 434.9 MB, free: 31.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.489e-05/0.374, allocations: 33.45 kB / 435 MB, free: 31.01 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.000364/0.3744, allocations: 204.5 kB / 435.2 MB, free: 30.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.3745, allocations: 63.45 kB / 435.2 MB, free: 30.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/0.3762, allocations: 0.7934 MB / 436 MB, free: 30.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.3762, allocations: 6.25 kB / 436 MB, free: 30.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3763, allocations: 3.219 kB / 436 MB, free: 30.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.3763, allocations: 3.516 kB / 436 MB, free: 30.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/0.3787, allocations: 1.568 MB / 437.6 MB, free: 30.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3787, allocations: 1.031 kB / 437.6 MB, free: 30.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006172/0.3794, allocations: 136.4 kB / 437.7 MB, free: 30.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008548/0.3802, allocations: 272.3 kB / 438 MB, free: 30.15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.3803, allocations: 12.61 kB / 438 MB, free: 30.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00309/0.3834, allocations: 2.395 MB / 440.4 MB, free: 28.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3834, allocations: 0.5156 kB / 440.4 MB, free: 28.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.3854, allocations: 1.124 MB / 441.5 MB, free: 27.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.3856, allocations: 181.1 kB / 441.7 MB, free: 27.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.169e-05/0.3857, allocations: 15.72 kB / 441.7 MB, free: 27.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.386, allocations: 25.02 kB / 441.8 MB, free: 27.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.3862, allocations: 42.67 kB / 441.8 MB, free: 27.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.3862, allocations: 18.47 kB / 441.8 MB, free: 27.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004363/0.3866, allocations: 328.6 kB / 442.1 MB, free: 27.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3866, allocations: 7.766 kB / 442.1 MB, free: 27.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001347/0.388, allocations: 261.2 kB / 442.4 MB, free: 27.48 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.0002948/0.3883, allocations: 153.4 kB / 442.5 MB, free: 27.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002583/0.3909, allocations: 1.673 MB / 444.2 MB, free: 26.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3909, allocations: 3.844 kB / 444.2 MB, free: 26.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009262/0.3918, allocations: 0.5294 MB / 444.8 MB, free: 26.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.3924, allocations: 87.23 kB / 444.8 MB, free: 25.97 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.002572/0.395, allocations: 1.648 MB / 446.5 MB, free: 24.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.3955, allocations: 0.9002 MB / 447.4 MB, free: 24.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.3957, allocations: 45.34 kB / 447.4 MB, free: 24.2 MB / 318.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3957, allocations: 1.203 kB / 447.4 MB, free: 24.2 MB / 318.1 MB Notification: Performance of Templates: time 0.01882/0.4145, allocations: 18.27 MB / 465.7 MB, free: 12 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.makefile make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.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.SynchronousMachine4WindingsNoLoadCalcHelperMain.o OMCppPowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadCalcHelperMain.o] Error 1