Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.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.SynchronousMachine4WindingsNoLoadExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008212/0.0008212, allocations: 100.4 kB / 15.71 MB, free: 452 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.001305/0.001305, allocations: 175 kB / 16.58 MB, free: 6.422 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.528/1.528, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0704/0.0704, allocations: 14.16 MB / 285.2 MB, free: 7.129 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.0005799/0.00058, allocations: 16 kB / 348.1 MB, free: 18.55 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09942/0.1, allocations: 51.12 MB / 399.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact): time 0.004693/0.1048, allocations: 4.908 MB / 404.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004073/0.1089, allocations: 2.732 MB / 406.9 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.1091, allocations: 11.94 kB / 406.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005069/0.1097, allocations: 206.9 kB / 407.1 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001947/0.1116, allocations: 0.9832 MB / 408.1 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007062/0.1123, allocations: 371.2 kB / 408.5 MB, free: 6.148 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.1137, allocations: 1.343 MB / 409.8 MB, free: 4.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.1139, allocations: 77.75 kB / 409.9 MB, free: 4.727 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004276/0.1143, allocations: 418.3 kB / 410.3 MB, free: 4.316 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000496/0.1148, allocations: 470.1 kB / 410.7 MB, free: 3.855 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.012e-05/0.1149, allocations: 40 kB / 410.8 MB, free: 3.816 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005918/0.1155, allocations: 275.7 kB / 411.1 MB, free: 3.547 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1156, allocations: 131.4 kB / 411.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.1158, allocations: 165.3 kB / 411.3 MB, free: 3.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007672/0.1166, allocations: 0.834 MB / 412.2 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.1166, allocations: 0 / 412.2 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1166, allocations: 0 / 412.2 MB, free: 2.414 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1166, allocations: 3.938 kB / 412.2 MB, free: 2.41 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.00271/0.1193, allocations: 1.231 MB / 413.4 MB, free: 1.125 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.1194, allocations: 8.031 kB / 413.4 MB, free: 1.117 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008485/0.1202, allocations: 155 kB / 413.6 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007427/0.121, allocations: 0.5273 MB / 414.1 MB, free: 412 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.121, allocations: 45 kB / 414.1 MB, free: 368 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.504e-05/0.1211, allocations: 63.91 kB / 414.2 MB, free: 304 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008079/0.1219, allocations: 478.1 kB / 414.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.122, allocations: 3.984 kB / 414.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.122, allocations: 24 kB / 414.7 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.122, allocations: 12 kB / 414.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008389/0.1229, allocations: 495.7 kB / 415.2 MB, free: 15.29 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.004426/0.1273, allocations: 2.907 MB / 418.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.1286, allocations: 0.7772 MB / 418.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/0.129, allocations: 234.5 kB / 419.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.311e-05/0.129, allocations: 8.562 kB / 419.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1291, allocations: 39.12 kB / 419.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.265e-06/0.1291, allocations: 4.562 kB / 419.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004837/0.1339, allocations: 2.093 MB / 421.3 MB, free: 8.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.134, allocations: 59.97 kB / 421.3 MB, free: 8.719 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005341/0.1345, allocations: 0.4987 MB / 421.8 MB, free: 8.207 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.304e-05/0.1346, allocations: 41.7 kB / 421.8 MB, free: 8.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.1348, allocations: 253.2 kB / 422.1 MB, free: 7.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.135, allocations: 228.7 kB / 422.3 MB, free: 7.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.135, allocations: 16 kB / 422.3 MB, free: 7.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1352, allocations: 374.8 kB / 422.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005683/0.1358, allocations: 357.8 kB / 423.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/0.1364, allocations: 433.4 kB / 423.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006693/0.1371, allocations: 406.9 kB / 423.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1371, allocations: 0 / 423.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01002/0.1471, allocations: 1.901 MB / 425.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.827e-05/0.1472, allocations: 122.7 kB / 425.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1472, allocations: 0 / 425.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01203/0.1593, allocations: 1.436 MB / 427.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008644/0.1602, allocations: 207.8 kB / 427.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2045/0.3647, allocations: 10.08 MB / 437.6 MB, free: 23.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007429/0.3655, allocations: 33 kB / 437.6 MB, free: 23.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.3655, allocations: 33.92 kB / 437.7 MB, free: 23.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.976e-06/0.3656, allocations: 3.656 kB / 437.7 MB, free: 23.41 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002759/0.3683, allocations: 1.206 MB / 438.9 MB, free: 23.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3683, allocations: 0 / 438.9 MB, free: 23.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002127/0.3705, allocations: 0.5948 MB / 439.5 MB, free: 23.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008838/0.3714, allocations: 223.9 kB / 439.7 MB, free: 23.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007818/0.3792, allocations: 10.54 MB / 450.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006112/0.3798, allocations: 38.81 kB / 450.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.177e-05/0.3799, allocations: 28.75 kB / 450.3 MB, free: 14.23 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,4 6,4 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003232/0.3802, allocations: 277.1 kB / 450.6 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-05/0.3803, allocations: 66.92 kB / 450.6 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.382, allocations: 0.7893 MB / 451.4 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.3821, allocations: 7.328 kB / 451.4 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3821, allocations: 3.656 kB / 451.4 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.3821, allocations: 3.188 kB / 451.4 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.3844, allocations: 1.564 MB / 453 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3845, allocations: 0 / 453 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005673/0.385, allocations: 136.8 kB / 453.1 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007606/0.3858, allocations: 275.2 kB / 453.4 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.3858, allocations: 11.72 kB / 453.4 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/0.3886, allocations: 2.386 MB / 455.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3886, allocations: 8.984 kB / 455.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.3904, allocations: 1.117 MB / 456.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.3906, allocations: 178.7 kB / 457.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.333e-05/0.3907, allocations: 18.7 kB / 457.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.391, allocations: 31.77 kB / 457.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3911, allocations: 41.92 kB / 457.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.3912, allocations: 18.7 kB / 457.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003602/0.3915, allocations: 325.7 kB / 457.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3915, allocations: 1.469 kB / 457.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001713/0.3932, allocations: 465.3 kB / 458 MB, free: 10.72 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.000417/0.3937, allocations: 168 kB / 458.2 MB, free: 10.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004836/0.3986, allocations: 3 MB / 461.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3986, allocations: 0.5469 kB / 461.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000839/0.3994, allocations: 0.5261 MB / 461.7 MB, free: 8.375 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006201/0.4001, allocations: 84.88 kB / 461.8 MB, free: 8.336 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.002082/0.4022, allocations: 1.69 MB / 463.5 MB, free: 7.262 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.4025, allocations: 0.9186 MB / 464.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.4026, allocations: 42.34 kB / 464.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4026, allocations: 3.5 kB / 464.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of Templates: time 0.01849/0.4211, allocations: 17.3 MB / 481.7 MB, free: 7.309 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.makefile make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.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.SynchronousMachine4WindingsNoLoadExactCalcHelperMain.o OMCppPowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExactCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExactCalcHelperMain.o] Error 1