Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.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.SynchronousMachine4WindingsNoLoadAccurate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008049/0.000805, allocations: 99.12 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.000853/0.000853, allocations: 181 kB / 16.58 MB, free: 6.879 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.514/1.514, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05736/0.05737, allocations: 14.17 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.0004928/0.0004928, allocations: 14.5 kB / 348.1 MB, free: 18.55 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1091, allocations: 51.11 MB / 399.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate): time 0.005061/0.1142, allocations: 4.912 MB / 404.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004401/0.1187, allocations: 2.743 MB / 406.9 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004408/0.1191, allocations: 8 kB / 406.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006083/0.1198, allocations: 206.9 kB / 407.1 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.1219, allocations: 0.9788 MB / 408.1 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007523/0.1226, allocations: 363.2 kB / 408.5 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.1242, allocations: 1.347 MB / 409.8 MB, free: 4.812 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.1244, allocations: 77.69 kB / 409.9 MB, free: 4.738 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004382/0.1248, allocations: 402.4 kB / 410.3 MB, free: 4.344 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004946/0.1253, allocations: 478.1 kB / 410.7 MB, free: 3.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.431e-05/0.1254, allocations: 36 kB / 410.8 MB, free: 3.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000625/0.126, allocations: 259.8 kB / 411 MB, free: 3.586 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1261, allocations: 131.4 kB / 411.2 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.1263, allocations: 161.3 kB / 411.3 MB, free: 3.293 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008143/0.1271, allocations: 0.8145 MB / 412.1 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1271, allocations: 0 / 412.1 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1272, allocations: 0 / 412.1 MB, free: 2.477 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1272, allocations: 0 / 412.1 MB, free: 2.477 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.003106/0.1303, allocations: 1.227 MB / 413.4 MB, free: 1.195 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1303, allocations: 12.03 kB / 413.4 MB, free: 1.184 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003573/0.1307, allocations: 107 kB / 413.5 MB, free: 1.078 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008749/0.1316, allocations: 0.5234 MB / 414 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.1316, allocations: 45 kB / 414 MB, free: 488 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.712e-05/0.1317, allocations: 63.91 kB / 414.1 MB, free: 424 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008625/0.1326, allocations: 494.2 kB / 414.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1326, allocations: 0 / 414.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/0.1327, allocations: 19.94 kB / 414.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.1327, allocations: 12 kB / 414.6 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008093/0.1335, allocations: 491.7 kB / 415.1 MB, free: 15.4 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.004308/0.1378, allocations: 2.875 MB / 418 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.1391, allocations: 0.7768 MB / 418.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003906/0.1395, allocations: 234.5 kB / 419 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.759e-05/0.1396, allocations: 12.55 kB / 419 MB, free: 11.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1396, allocations: 47.05 kB / 419 MB, free: 11.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 3.176e-06/0.1396, allocations: 0 / 419 MB, free: 11.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005099/0.1447, allocations: 2.082 MB / 421.1 MB, free: 8.938 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.1448, allocations: 59.97 kB / 421.2 MB, free: 8.867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005383/0.1453, allocations: 0.4987 MB / 421.7 MB, free: 8.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.1454, allocations: 41.7 kB / 421.7 MB, free: 8.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.1456, allocations: 257.2 kB / 422 MB, free: 8.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.1458, allocations: 228.7 kB / 422.2 MB, free: 7.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.1458, allocations: 19.94 kB / 422.2 MB, free: 7.805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.146, allocations: 378.8 kB / 422.6 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/0.1466, allocations: 337.9 kB / 422.9 MB, free: 7.098 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006065/0.1472, allocations: 405.4 kB / 423.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006283/0.1478, allocations: 387 kB / 423.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1478, allocations: 0 / 423.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004517/0.1524, allocations: 1.609 MB / 425.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.811e-05/0.1525, allocations: 114.7 kB / 425.4 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.1525, allocations: 7.953 kB / 425.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00433/0.1568, allocations: 1.003 MB / 426.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008512/0.1577, allocations: 203.8 kB / 426.6 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2314/0.3891, allocations: 9.357 MB / 436 MB, free: 32.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006334/0.3898, allocations: 33.91 kB / 436 MB, free: 32.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.764e-05/0.3898, allocations: 32.38 kB / 436 MB, free: 32.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.3898, allocations: 5.094 kB / 436 MB, free: 32.16 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002649/0.3925, allocations: 1.198 MB / 437.2 MB, free: 31.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3925, allocations: 1.406 kB / 437.2 MB, free: 31.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002129/0.3946, allocations: 0.5918 MB / 437.8 MB, free: 31.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000838/0.3955, allocations: 219.5 kB / 438 MB, free: 31.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007951/0.4035, allocations: 10.55 MB / 448.6 MB, free: 21.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006323/0.4041, allocations: 41.28 kB / 448.6 MB, free: 21.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.4042, allocations: 36.16 kB / 448.7 MB, free: 21.69 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.000338/0.4045, allocations: 271.6 kB / 448.9 MB, free: 21.44 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.4046, allocations: 66.28 kB / 449 MB, free: 21.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.4062, allocations: 0.7889 MB / 449.8 MB, free: 21.06 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.4062, allocations: 10.66 kB / 449.8 MB, free: 21.06 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4062, allocations: 3.094 kB / 449.8 MB, free: 21.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.4063, allocations: 3.469 kB / 449.8 MB, free: 21.06 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002599/0.4089, allocations: 1.559 MB / 451.4 MB, free: 20.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4089, allocations: 0 / 451.4 MB, free: 20.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006067/0.4095, allocations: 138.8 kB / 451.5 MB, free: 20.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008254/0.4103, allocations: 271.6 kB / 451.8 MB, free: 20.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.4104, allocations: 15.8 kB / 451.8 MB, free: 20.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002831/0.4132, allocations: 2.385 MB / 454.2 MB, free: 18.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4132, allocations: 0 / 454.2 MB, free: 18.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.415, allocations: 1.129 MB / 455.3 MB, free: 17.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/0.4153, allocations: 190.1 kB / 455.5 MB, free: 17.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.831e-05/0.4153, allocations: 15.39 kB / 455.5 MB, free: 17.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.4157, allocations: 19.89 kB / 455.5 MB, free: 17.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.4158, allocations: 48.95 kB / 455.6 MB, free: 17.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.4158, allocations: 14.41 kB / 455.6 MB, free: 17.58 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003718/0.4162, allocations: 329.9 kB / 455.9 MB, free: 17.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4162, allocations: 0 / 455.9 MB, free: 17.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001598/0.4178, allocations: 454.3 kB / 456.3 MB, free: 17.37 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.0002544/0.4181, allocations: 158 kB / 456.5 MB, free: 17.26 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004228/0.4223, allocations: 2.997 MB / 459.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4223, allocations: 0 / 459.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008448/0.4232, allocations: 0.5206 MB / 460 MB, free: 15.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.4237, allocations: 93.42 kB / 460.1 MB, free: 14.96 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.001996/0.4257, allocations: 1.673 MB / 461.8 MB, free: 13.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.4261, allocations: 0.9199 MB / 462.7 MB, free: 13.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.4262, allocations: 50.45 kB / 462.7 MB, free: 13.16 MB / 318.1 MB Notification: Performance of SimCode: time 4.9e-07/0.4262, allocations: 0 / 462.7 MB, free: 13.16 MB / 318.1 MB Notification: Performance of Templates: time 0.01543/0.4417, allocations: 16.65 MB / 479.4 MB, free: 14.05 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.makefile make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.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.SynchronousMachine4WindingsNoLoadAccurateCalcHelperMain.o OMCppPowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurateCalcHelperMain.o] Error 1