Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_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.001078/0.001077, allocations: 91.33 kB / 16.33 MB, free: 6.344 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.001247/0.001247, allocations: 184.7 kB / 17.23 MB, free: 6.234 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.648/1.648, allocations: 205.4 MB / 223.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05663/0.05663, allocations: 14.17 MB / 285.8 MB, free: 7.125 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.0004894/0.0004895, allocations: 12 kB / 348.8 MB, free: 18.54 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1049, allocations: 51.13 MB / 399.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate): time 0.005094/0.1101, allocations: 4.899 MB / 404.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004645/0.1147, allocations: 2.736 MB / 407.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003411/0.1151, allocations: 7.938 kB / 407.6 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005738/0.1157, allocations: 210.8 kB / 407.8 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.1179, allocations: 0.9794 MB / 408.7 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008477/0.1187, allocations: 367.2 kB / 409.1 MB, free: 6.133 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.1203, allocations: 1.336 MB / 410.4 MB, free: 4.793 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.1206, allocations: 81.73 kB / 410.5 MB, free: 4.715 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004742/0.121, allocations: 410.3 kB / 410.9 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005433/0.1216, allocations: 474.1 kB / 411.4 MB, free: 3.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.422e-05/0.1217, allocations: 36 kB / 411.4 MB, free: 3.812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005811/0.1223, allocations: 259.8 kB / 411.7 MB, free: 3.559 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.1224, allocations: 131.4 kB / 411.8 MB, free: 3.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.1226, allocations: 161.3 kB / 412 MB, free: 3.266 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008207/0.1234, allocations: 0.8106 MB / 412.8 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1234, allocations: 3.938 kB / 412.8 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1234, allocations: 4 kB / 412.8 MB, free: 2.445 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1235, allocations: 0 / 412.8 MB, free: 2.445 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.002989/0.1265, allocations: 1.227 MB / 414 MB, free: 1.164 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1265, allocations: 8.031 kB / 414 MB, free: 1.156 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003725/0.1269, allocations: 107 kB / 414.1 MB, free: 1.051 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008374/0.1277, allocations: 0.5195 MB / 414.6 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.1278, allocations: 45 kB / 414.7 MB, free: 464 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.1279, allocations: 67.89 kB / 414.7 MB, free: 396 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008246/0.1288, allocations: 478.1 kB / 415.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1288, allocations: 0 / 415.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.1288, allocations: 20 kB / 415.2 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.1288, allocations: 15.94 kB / 415.2 MB, free: 15.87 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008228/0.1297, allocations: 495.7 kB / 415.7 MB, free: 15.39 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.004291/0.134, allocations: 2.879 MB / 418.6 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.1352, allocations: 0.769 MB / 419.4 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.1356, allocations: 234.5 kB / 419.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.539e-05/0.1356, allocations: 16.55 kB / 419.6 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.1357, allocations: 39.06 kB / 419.7 MB, free: 11.08 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.864e-06/0.1357, allocations: 4 kB / 419.7 MB, free: 11.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004916/0.1406, allocations: 2.082 MB / 421.7 MB, free: 8.922 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.1406, allocations: 59.97 kB / 421.8 MB, free: 8.852 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/0.1412, allocations: 0.4948 MB / 422.3 MB, free: 8.344 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.1412, allocations: 41.7 kB / 422.3 MB, free: 8.297 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.1414, allocations: 257.2 kB / 422.6 MB, free: 8.039 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.1416, allocations: 232.7 kB / 422.8 MB, free: 7.809 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.1417, allocations: 20 kB / 422.8 MB, free: 7.789 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1419, allocations: 382.7 kB / 423.2 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005676/0.1424, allocations: 325.9 kB / 423.5 MB, free: 7.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000592/0.143, allocations: 417.4 kB / 423.9 MB, free: 6.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006134/0.1437, allocations: 379 kB / 424.3 MB, free: 6.305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.1437, allocations: 3.984 kB / 424.3 MB, free: 6.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004396/0.1481, allocations: 1.597 MB / 425.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.33e-05/0.1482, allocations: 114.8 kB / 426 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.1482, allocations: 3.953 kB / 426 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004328/0.1525, allocations: 1.022 MB / 427 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007867/0.1533, allocations: 199.8 kB / 427.2 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.218/0.3714, allocations: 9.36 MB / 436.6 MB, free: 32.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006682/0.3721, allocations: 40.61 kB / 436.6 MB, free: 32.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.695e-05/0.3721, allocations: 32.83 kB / 436.7 MB, free: 32.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.3721, allocations: 3.031 kB / 436.7 MB, free: 32.14 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002691/0.3748, allocations: 1.193 MB / 437.9 MB, free: 31.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3749, allocations: 1.375 kB / 437.9 MB, free: 31.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002211/0.3771, allocations: 0.6075 MB / 438.5 MB, free: 31.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008951/0.378, allocations: 219.6 kB / 438.7 MB, free: 31.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007805/0.3858, allocations: 10.55 MB / 449.2 MB, free: 21.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006138/0.3864, allocations: 36.77 kB / 449.3 MB, free: 21.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/0.3865, allocations: 32.36 kB / 449.3 MB, free: 21.67 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.0003395/0.3869, allocations: 266.7 kB / 449.6 MB, free: 21.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.397e-05/0.387, allocations: 65.66 kB / 449.6 MB, free: 21.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.3885, allocations: 0.791 MB / 450.4 MB, free: 21.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.3886, allocations: 5.938 kB / 450.4 MB, free: 21.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3886, allocations: 2.969 kB / 450.4 MB, free: 21.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.3886, allocations: 7.5 kB / 450.4 MB, free: 21.05 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.002576/0.3912, allocations: 1.569 MB / 452 MB, free: 20.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.3912, allocations: 5.391 kB / 452 MB, free: 20.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006472/0.3918, allocations: 133.2 kB / 452.1 MB, free: 20.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008506/0.3927, allocations: 273.2 kB / 452.4 MB, free: 20.1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.3927, allocations: 12.89 kB / 452.4 MB, free: 20.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002996/0.3958, allocations: 2.383 MB / 454.8 MB, free: 18.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3958, allocations: 1.312 kB / 454.8 MB, free: 18.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/0.4082, allocations: 8.156 MB / 463 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.4084, allocations: 187.7 kB / 463.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.035e-05/0.4085, allocations: 19.8 kB / 463.2 MB, free: 13.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.4089, allocations: 23.2 kB / 463.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.409, allocations: 51.47 kB / 463.2 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.409, allocations: 18.52 kB / 463.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003204/0.4094, allocations: 327.9 kB / 463.6 MB, free: 12.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4094, allocations: 4 kB / 463.6 MB, free: 12.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00188/0.4112, allocations: 0.6109 MB / 464.2 MB, free: 12.71 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.0002485/0.4115, allocations: 155.1 kB / 464.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004035/0.4155, allocations: 3.001 MB / 467.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4156, allocations: 3.969 kB / 467.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008247/0.4164, allocations: 0.5245 MB / 467.9 MB, free: 10.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/0.417, allocations: 85.7 kB / 468 MB, free: 9.93 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.002832/0.4198, allocations: 2.354 MB / 470.3 MB, free: 7.535 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.4201, allocations: 0.9361 MB / 471.3 MB, free: 6.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.4203, allocations: 43.44 kB / 471.3 MB, free: 6.527 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4203, allocations: 0 / 471.3 MB, free: 6.527 MB / 318.1 MB Notification: Performance of Templates: time 0.01962/0.4399, allocations: 18.48 MB / 489.8 MB, free: 4.016 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.makefile make -j1 -f PowerGrids_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurateCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurateCalcHelperMain.o] Error 1