Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.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.SynchronousMachine4WindingsExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009143/0.0009151, allocations: 94.23 kB / 16.34 MB, free: 6.418 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.0009988/0.0009988, allocations: 184 kB / 17.23 MB, free: 6.297 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.584/1.584, allocations: 205.4 MB / 223.4 MB, free: 5.324 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05678/0.05678, allocations: 14.16 MB / 285.8 MB, free: 7.008 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.0004826/0.0004826, allocations: 12 kB / 348.8 MB, free: 18.52 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1209, allocations: 51.12 MB / 399.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact): time 0.005625/0.1266, allocations: 4.907 MB / 404.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004698/0.1314, allocations: 2.724 MB / 407.5 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007326/0.1321, allocations: 12 kB / 407.6 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008186/0.133, allocations: 210.8 kB / 407.8 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.1357, allocations: 0.98 MB / 408.7 MB, free: 6.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000939/0.1366, allocations: 375.1 kB / 409.1 MB, free: 6.133 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001982/0.1386, allocations: 1.343 MB / 410.4 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.1389, allocations: 85.73 kB / 410.5 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007331/0.1396, allocations: 410.3 kB / 410.9 MB, free: 4.301 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005793/0.1402, allocations: 470.2 kB / 411.4 MB, free: 3.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.599e-05/0.1403, allocations: 36 kB / 411.4 MB, free: 3.805 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006341/0.1409, allocations: 275.7 kB / 411.7 MB, free: 3.535 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.1411, allocations: 139.4 kB / 411.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.1412, allocations: 161.3 kB / 412 MB, free: 3.234 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007999/0.142, allocations: 0.8261 MB / 412.8 MB, free: 2.406 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.142, allocations: 4 kB / 412.8 MB, free: 2.402 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.142, allocations: 0 / 412.8 MB, free: 2.402 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1421, allocations: 0 / 412.8 MB, free: 2.402 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.002997/0.1451, allocations: 1.224 MB / 414 MB, free: 1.125 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1451, allocations: 12.03 kB / 414.1 MB, free: 1.113 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008364/0.146, allocations: 155 kB / 414.2 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007964/0.1468, allocations: 0.5311 MB / 414.7 MB, free: 404 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.1468, allocations: 45 kB / 414.8 MB, free: 360 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.923e-05/0.1469, allocations: 63.91 kB / 414.8 MB, free: 296 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007758/0.1477, allocations: 482 kB / 415.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1477, allocations: 0 / 415.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.1478, allocations: 24 kB / 415.3 MB, free: 15.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1478, allocations: 12 kB / 415.3 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007718/0.1486, allocations: 495.7 kB / 415.8 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.004961/0.1535, allocations: 2.903 MB / 418.7 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.1554, allocations: 0.7726 MB / 419.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/0.1558, allocations: 234.5 kB / 419.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.501e-05/0.1559, allocations: 16.53 kB / 419.8 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1559, allocations: 43.12 kB / 419.8 MB, free: 10.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.914e-06/0.1559, allocations: 0 / 419.8 MB, free: 10.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005033/0.161, allocations: 2.09 MB / 421.9 MB, free: 8.785 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.161, allocations: 63.95 kB / 421.9 MB, free: 8.711 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/0.1616, allocations: 0.4948 MB / 422.4 MB, free: 8.203 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.1616, allocations: 41.7 kB / 422.5 MB, free: 8.156 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.1618, allocations: 249.2 kB / 422.7 MB, free: 7.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.162, allocations: 232.7 kB / 423 MB, free: 7.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.1621, allocations: 20 kB / 423 MB, free: 7.656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1622, allocations: 378.8 kB / 423.3 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006277/0.1629, allocations: 345.9 kB / 423.7 MB, free: 6.941 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006148/0.1635, allocations: 433.4 kB / 424.1 MB, free: 6.508 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006559/0.1641, allocations: 403 kB / 424.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1642, allocations: 0 / 424.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0105/0.1747, allocations: 1.905 MB / 426.4 MB, free: 4.188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.1748, allocations: 110.7 kB / 426.5 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.1748, allocations: 3.938 kB / 426.5 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01234/0.1872, allocations: 1.452 MB / 428 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009515/0.1882, allocations: 199.8 kB / 428.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.223/0.4112, allocations: 10.08 MB / 438.2 MB, free: 23.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006684/0.4119, allocations: 36.73 kB / 438.3 MB, free: 23.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.355e-05/0.412, allocations: 35.81 kB / 438.3 MB, free: 23.35 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/0.412, allocations: 2.844 kB / 438.3 MB, free: 23.35 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002725/0.4147, allocations: 1.197 MB / 439.5 MB, free: 23.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4147, allocations: 0.6094 kB / 439.5 MB, free: 23.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002278/0.417, allocations: 0.6147 MB / 440.1 MB, free: 23.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008821/0.4179, allocations: 222.6 kB / 440.3 MB, free: 23.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007879/0.4258, allocations: 10.56 MB / 450.9 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006144/0.4264, allocations: 35.55 kB / 450.9 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.4265, allocations: 27.75 kB / 451 MB, free: 14.19 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.0003254/0.4268, allocations: 278 kB / 451.2 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.466e-05/0.4269, allocations: 65.31 kB / 451.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.4285, allocations: 0.7813 MB / 452.1 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.4286, allocations: 6.438 kB / 452.1 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.4286, allocations: 3.75 kB / 452.1 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.4286, allocations: 12.69 kB / 452.1 MB, free: 13.87 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.002148/0.4307, allocations: 1.559 MB / 453.7 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4308, allocations: 1.062 kB / 453.7 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005836/0.4314, allocations: 139.1 kB / 453.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007644/0.4321, allocations: 270.1 kB / 454.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.4322, allocations: 18.41 kB / 454.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002635/0.4348, allocations: 2.385 MB / 456.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4348, allocations: 5.391 kB / 456.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/0.4466, allocations: 8.159 MB / 464.6 MB, free: 6.746 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.4468, allocations: 179.2 kB / 464.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.4469, allocations: 19.62 kB / 464.8 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.4472, allocations: 25.34 kB / 464.8 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.4474, allocations: 44.56 kB / 464.9 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.4474, allocations: 14.25 kB / 464.9 MB, free: 6.555 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003122/0.4477, allocations: 330.8 kB / 465.2 MB, free: 6.395 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4477, allocations: 0 / 465.2 MB, free: 6.395 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001903/0.4496, allocations: 0.6235 MB / 465.9 MB, free: 6.328 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.0002416/0.4499, allocations: 164.9 kB / 466 MB, free: 6.211 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00434/0.4542, allocations: 3.007 MB / 469 MB, free: 4.008 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4543, allocations: 0 / 469 MB, free: 4.008 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008667/0.4551, allocations: 0.5235 MB / 469.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006375/0.4558, allocations: 93.16 kB / 469.6 MB, free: 3.645 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.002869/0.4587, allocations: 2.368 MB / 472 MB, free: 1.512 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.459, allocations: 0.9322 MB / 472.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.4592, allocations: 51.44 kB / 473 MB, free: 0.5 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4592, allocations: 0 / 473 MB, free: 0.5 MB / 318.1 MB Notification: Performance of Templates: time 0.0215/0.4807, allocations: 19.12 MB / 492.1 MB, free: 13.37 MB / 350.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.makefile make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.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.SynchronousMachine4WindingsExactCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExactCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExactCalcHelperMain.o] Error 1