Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.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) Running command: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4Windings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4Windings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008494/0.0008495, allocations: 99.05 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.00112/0.00112, allocations: 172.8 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.581/1.581, allocations: 205.4 MB / 222.8 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05887/0.05887, allocations: 14.17 MB / 285.2 MB, free: 7.109 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.0005124/0.0005124, allocations: 12 kB / 346.8 MB, free: 19.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09818/0.09871, allocations: 51.12 MB / 397.9 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.005332/0.1041, allocations: 4.911 MB / 402.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004951/0.1091, allocations: 2.736 MB / 405.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004396/0.1096, allocations: 11.94 kB / 405.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006506/0.1102, allocations: 206.9 kB / 405.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.1124, allocations: 0.9716 MB / 406.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007942/0.1132, allocations: 375.2 kB / 407.1 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.1146, allocations: 1.324 MB / 408.4 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.1149, allocations: 77.73 kB / 408.5 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004215/0.1153, allocations: 398.3 kB / 408.9 MB, free: 5.691 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004939/0.1158, allocations: 454.2 kB / 409.4 MB, free: 5.246 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.371e-05/0.1159, allocations: 39.94 kB / 409.4 MB, free: 5.207 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004851/0.1164, allocations: 255.8 kB / 409.6 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1165, allocations: 135.3 kB / 409.8 MB, free: 4.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.1166, allocations: 157.3 kB / 409.9 MB, free: 4.664 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007137/0.1173, allocations: 0.795 MB / 410.7 MB, free: 3.867 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.1174, allocations: 0 / 410.7 MB, free: 3.867 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1174, allocations: 4 kB / 410.7 MB, free: 3.863 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1174, allocations: 0 / 410.7 MB, free: 3.863 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.002988/0.1204, allocations: 1.224 MB / 412 MB, free: 2.586 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1204, allocations: 12.02 kB / 412 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004147/0.1208, allocations: 107 kB / 412.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008096/0.1217, allocations: 0.5156 MB / 412.6 MB, free: 1.918 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.1217, allocations: 41 kB / 412.6 MB, free: 1.879 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.251e-05/0.1218, allocations: 63.91 kB / 412.7 MB, free: 1.816 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007858/0.1226, allocations: 486.1 kB / 413.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1226, allocations: 0 / 413.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.1227, allocations: 16 kB / 413.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.1227, allocations: 12 kB / 413.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000793/0.1235, allocations: 499.6 kB / 413.7 MB, free: 0.8125 MB / 302.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.004037/0.1275, allocations: 2.86 MB / 416.5 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.1287, allocations: 0.7723 MB / 417.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/0.1291, allocations: 238.5 kB / 417.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.056e-05/0.1292, allocations: 16.53 kB / 417.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1292, allocations: 39.12 kB / 417.6 MB, free: 12.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 3.086e-06/0.1292, allocations: 3.984 kB / 417.6 MB, free: 12.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004911/0.1341, allocations: 2.09 MB / 419.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.1342, allocations: 55.97 kB / 419.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005991/0.1348, allocations: 0.4987 MB / 420.2 MB, free: 9.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.1349, allocations: 41.7 kB / 420.3 MB, free: 9.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.1351, allocations: 249.2 kB / 420.5 MB, free: 9.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.1353, allocations: 236.7 kB / 420.8 MB, free: 9.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.868e-05/0.1353, allocations: 20 kB / 420.8 MB, free: 9.227 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.1355, allocations: 374.8 kB / 421.1 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005432/0.1361, allocations: 313.9 kB / 421.5 MB, free: 8.547 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/0.1367, allocations: 397.4 kB / 421.8 MB, free: 8.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006114/0.1373, allocations: 370.9 kB / 422.2 MB, free: 7.789 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1373, allocations: 0 / 422.2 MB, free: 7.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002791/0.1401, allocations: 1.271 MB / 423.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.1401, allocations: 8 kB / 423.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1401, allocations: 0 / 423.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002234/0.1424, allocations: 0.6262 MB / 424.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008287/0.1432, allocations: 223.7 kB / 424.3 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2043/0.3476, allocations: 10.57 MB / 434.9 MB, free: 23.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/0.3483, allocations: 37.97 kB / 434.9 MB, free: 23.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.186e-05/0.3484, allocations: 31.38 kB / 435 MB, free: 23.57 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 (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 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,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002904/0.3487, allocations: 205 kB / 435.2 MB, free: 23.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/0.3488, allocations: 60.69 kB / 435.2 MB, free: 23.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.3504, allocations: 0.7843 MB / 436 MB, free: 23.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3505, allocations: 10.5 kB / 436 MB, free: 23.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3505, allocations: 3.844 kB / 436 MB, free: 23.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.3505, allocations: 3.812 kB / 436 MB, free: 23.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 postOpt removeSimpleEquations (simulation): time 0.002383/0.3529, allocations: 1.56 MB / 437.6 MB, free: 22.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.3529, allocations: 7.797 kB / 437.6 MB, free: 22.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/0.3535, allocations: 132 kB / 437.7 MB, free: 22.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008605/0.3543, allocations: 276 kB / 438 MB, free: 22.92 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.3544, allocations: 13.92 kB / 438 MB, free: 22.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002958/0.3574, allocations: 2.392 MB / 440.4 MB, free: 21.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3574, allocations: 0 / 440.4 MB, free: 21.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.3592, allocations: 1.124 MB / 441.5 MB, free: 21.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.3595, allocations: 181 kB / 441.7 MB, free: 21.33 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.3595, allocations: 11.98 kB / 441.7 MB, free: 21.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.3599, allocations: 29.41 kB / 441.7 MB, free: 21.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.36, allocations: 50.41 kB / 441.8 MB, free: 21.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.36, allocations: 18.47 kB / 441.8 MB, free: 21.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003738/0.3604, allocations: 326.7 kB / 442.1 MB, free: 21.24 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3604, allocations: 1.031 kB / 442.1 MB, free: 21.24 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009709/0.3614, allocations: 257.8 kB / 442.4 MB, free: 21.24 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.0002878/0.3617, allocations: 148.5 kB / 442.5 MB, free: 21.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002468/0.3642, allocations: 1.677 MB / 444.2 MB, free: 20.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3642, allocations: 1.344 kB / 444.2 MB, free: 20.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008779/0.3651, allocations: 0.527 MB / 444.7 MB, free: 20.19 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.3656, allocations: 97.27 kB / 444.8 MB, free: 20.18 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.002449/0.3681, allocations: 1.654 MB / 446.5 MB, free: 19.24 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.3685, allocations: 0.8997 MB / 447.4 MB, free: 18.54 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.3687, allocations: 50.94 kB / 447.4 MB, free: 18.53 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3687, allocations: 0 / 447.4 MB, free: 18.53 MB / 318.1 MB Notification: Performance of Templates: time 0.0176/0.3863, allocations: 18.25 MB / 465.7 MB, free: 7.312 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.makefile make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.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.SynchronousMachine4WindingsCalcHelperMain.o OMCppPowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsCalcHelperMain.o] Error 1