Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_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.0007952/0.000795, 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.0009933/0.0009934, allocations: 175.4 kB / 16.58 MB, free: 6.035 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.471/1.471, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05825/0.05825, 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.0005433/0.0005433, allocations: 16 kB / 348.1 MB, free: 18.54 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.11, allocations: 51.12 MB / 399.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact): time 0.005042/0.1151, allocations: 4.904 MB / 404.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00508/0.1202, allocations: 2.74 MB / 406.9 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004066/0.1207, allocations: 8 kB / 406.9 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006183/0.1213, allocations: 210.8 kB / 407.1 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.1236, allocations: 0.9642 MB / 408.1 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007972/0.1244, allocations: 378.6 kB / 408.5 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00166/0.1261, allocations: 1.355 MB / 409.8 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.1263, allocations: 77.69 kB / 409.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000518/0.1268, allocations: 414.3 kB / 410.3 MB, free: 4.305 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005392/0.1274, allocations: 478.2 kB / 410.8 MB, free: 3.836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.209e-05/0.1275, allocations: 36 kB / 410.8 MB, free: 3.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000682/0.1282, allocations: 271.7 kB / 411.1 MB, free: 3.535 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1283, allocations: 131.4 kB / 411.2 MB, free: 3.406 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.1285, allocations: 161.3 kB / 411.3 MB, free: 3.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008819/0.1293, allocations: 0.83 MB / 412.2 MB, free: 2.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1294, allocations: 4 kB / 412.2 MB, free: 2.406 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1294, allocations: 0 / 412.2 MB, free: 2.406 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1294, allocations: 0 / 412.2 MB, free: 2.406 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.003053/0.1324, allocations: 1.22 MB / 413.4 MB, free: 1.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1325, allocations: 15.97 kB / 413.4 MB, free: 1.117 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008879/0.1334, allocations: 151 kB / 413.6 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000863/0.1343, allocations: 0.5273 MB / 414.1 MB, free: 416 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.1343, allocations: 45 kB / 414.1 MB, free: 372 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.702e-05/0.1344, allocations: 63.91 kB / 414.2 MB, free: 308 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008179/0.1353, allocations: 486 kB / 414.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1353, allocations: 0 / 414.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.1353, allocations: 20 kB / 414.7 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.1353, allocations: 15.98 kB / 414.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008004/0.1362, 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.004607/0.1408, allocations: 2.907 MB / 418.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.1421, allocations: 0.7776 MB / 418.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003712/0.1425, allocations: 234.5 kB / 419.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.262e-05/0.1425, allocations: 8.562 kB / 419.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1426, allocations: 39.12 kB / 419.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.735e-06/0.1426, allocations: 0 / 419.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004977/0.1475, allocations: 2.09 MB / 421.2 MB, free: 8.797 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.1476, allocations: 59.97 kB / 421.3 MB, free: 8.727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/0.1482, allocations: 0.4987 MB / 421.8 MB, free: 8.215 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.1482, allocations: 41.7 kB / 421.8 MB, free: 8.168 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.1484, allocations: 257.2 kB / 422.1 MB, free: 7.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.1486, allocations: 224.7 kB / 422.3 MB, free: 7.688 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.1487, allocations: 20 kB / 422.3 MB, free: 7.668 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.1489, allocations: 378.8 kB / 422.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005607/0.1494, allocations: 345.9 kB / 423 MB, free: 6.953 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006354/0.1501, allocations: 437.4 kB / 423.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006827/0.1508, allocations: 399 kB / 423.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1508, allocations: 0 / 423.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.009831/0.1606, allocations: 1.901 MB / 425.8 MB, free: 4.203 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.746e-05/0.1607, allocations: 122.7 kB / 425.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1608, allocations: 3.938 kB / 425.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01202/0.1728, allocations: 1.448 MB / 427.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/0.1737, allocations: 203.8 kB / 427.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2427/0.4165, allocations: 10.09 MB / 437.6 MB, free: 23.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007719/0.4173, allocations: 38.61 kB / 437.6 MB, free: 23.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.567e-05/0.4173, allocations: 36.08 kB / 437.7 MB, free: 23.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.4174, allocations: 3.969 kB / 437.7 MB, free: 23.27 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002902/0.4203, allocations: 1.193 MB / 438.9 MB, free: 23.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.4203, allocations: 1.953 kB / 438.9 MB, free: 23.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002344/0.4226, allocations: 0.612 MB / 439.5 MB, free: 23.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008626/0.4235, allocations: 220.3 kB / 439.7 MB, free: 23.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008391/0.4319, allocations: 10.55 MB / 450.3 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005699/0.4325, allocations: 35.11 kB / 450.3 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-05/0.4326, allocations: 36.89 kB / 450.3 MB, free: 14.1 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.0003823/0.433, allocations: 272.3 kB / 450.6 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-05/0.4331, allocations: 66.2 kB / 450.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.4348, allocations: 0.7862 MB / 451.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.4348, allocations: 6.344 kB / 451.5 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4348, allocations: 2.938 kB / 451.5 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4348, allocations: 3.141 kB / 451.5 MB, free: 13.79 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.002769/0.4376, allocations: 1.564 MB / 453 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4376, allocations: 0 / 453 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006142/0.4382, allocations: 135.1 kB / 453.2 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008215/0.439, allocations: 270.2 kB / 453.4 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/0.4391, allocations: 14.81 kB / 453.4 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002809/0.4419, allocations: 2.386 MB / 455.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4419, allocations: 5.109 kB / 455.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.4438, allocations: 1.121 MB / 456.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.444, allocations: 188.4 kB / 457.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/0.444, allocations: 16.39 kB / 457.1 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.4444, allocations: 24.59 kB / 457.2 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.4445, allocations: 44.47 kB / 457.2 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.4445, allocations: 15 kB / 457.2 MB, free: 10.83 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003596/0.4449, allocations: 325.9 kB / 457.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4449, allocations: 5.203 kB / 457.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00164/0.4465, allocations: 463.1 kB / 458 MB, free: 10.62 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.0002415/0.4468, allocations: 159.8 kB / 458.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00446/0.4512, allocations: 3.015 MB / 461.2 MB, free: 8.539 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4513, allocations: 0 / 461.2 MB, free: 8.539 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008255/0.4521, allocations: 0.522 MB / 461.7 MB, free: 8.285 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.4526, allocations: 90.77 kB / 461.8 MB, free: 8.242 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.002025/0.4547, allocations: 1.684 MB / 463.5 MB, free: 7.168 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.455, allocations: 0.9159 MB / 464.4 MB, free: 6.457 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.4552, allocations: 47.58 kB / 464.4 MB, free: 6.445 MB / 318.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4552, allocations: 0 / 464.4 MB, free: 6.445 MB / 318.1 MB Notification: Performance of Templates: time 0.01753/0.4727, allocations: 17.28 MB / 481.7 MB, free: 7.293 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.makefile make -j1 -f PowerGrids_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_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExactCalcHelperMain.o OMCppPowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExactCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExactCalcHelperMain.o] Error 1