Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.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.TwoBusesResistiveTransmissionLineFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault") translateModel(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009478/0.0009479, allocations: 95.64 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.0009545/0.0009545, allocations: 181.7 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.758/1.758, allocations: 205.4 MB / 223.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05752/0.05752, allocations: 14.18 MB / 285.8 MB, free: 7.121 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.0004813/0.0004813, allocations: 12 kB / 347.4 MB, free: 19.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09842/0.09891, allocations: 51.13 MB / 398.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault): time 0.01084/0.1098, allocations: 12.61 MB / 411.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009008/0.1189, allocations: 5.522 MB / 416.7 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.1206, allocations: 35.88 kB / 416.7 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.1221, allocations: 0.5517 MB / 417.3 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005581/0.1277, allocations: 2.027 MB / 419.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.1288, allocations: 0.5492 MB / 419.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005531/0.1344, allocations: 3.999 MB / 423.9 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006311/0.135, allocations: 274.2 kB / 424.1 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/0.137, allocations: 1.003 MB / 425.1 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001824/0.1388, allocations: 1.07 MB / 426.2 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.139, allocations: 56 kB / 426.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.1405, allocations: 447.7 kB / 426.7 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.1408, allocations: 238.5 kB / 426.9 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006928/0.1415, allocations: 448.7 kB / 427.4 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.1439, allocations: 2.295 MB / 429.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1439, allocations: 8 kB / 429.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1439, allocations: 0 / 429.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.808e-05/0.144, allocations: 0 / 429.7 MB, free: 1.5 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.2182/0.3622, allocations: 2.838 MB / 432.5 MB, free: 35.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3622, allocations: 9.656 kB / 432.5 MB, free: 35.51 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.364, allocations: 340 kB / 432.9 MB, free: 35.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002739/0.3667, allocations: 1.288 MB / 434.1 MB, free: 34.97 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.3669, allocations: 117 kB / 434.3 MB, free: 34.97 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002316/0.3671, allocations: 152.9 kB / 434.4 MB, free: 34.97 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/0.3701, allocations: 1.796 MB / 436.2 MB, free: 33.99 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/0.3701, allocations: 7.297 kB / 436.2 MB, free: 33.99 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.3702, allocations: 67.06 kB / 436.3 MB, free: 33.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.574e-05/0.3703, allocations: 41.41 kB / 436.3 MB, free: 33.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.3727, allocations: 1.487 MB / 437.8 MB, free: 33.37 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.01097/0.3837, allocations: 12.06 MB / 449.9 MB, free: 22.94 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/0.3864, allocations: 1.861 MB / 451.7 MB, free: 21.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009261/0.3873, allocations: 0.6236 MB / 452.3 MB, free: 21.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.096e-05/0.3874, allocations: 21 kB / 452.4 MB, free: 21.47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.3884, allocations: 0.7313 MB / 453.1 MB, free: 21.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=151): time 3.537e-06/0.3885, allocations: 0 / 453.1 MB, free: 21.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=151): time 0.005805/0.3943, allocations: 2.623 MB / 455.7 MB, free: 19.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/0.3944, allocations: 233.4 kB / 456 MB, free: 19.33 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.396, allocations: 1.115 MB / 457.1 MB, free: 18.69 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.037e-05/0.396, allocations: 55.2 kB / 457.1 MB, free: 18.63 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005525/0.3966, allocations: 0.7973 MB / 457.9 MB, free: 17.92 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004487/0.3971, allocations: 0.5109 MB / 458.4 MB, free: 17.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/0.3971, allocations: 39.25 kB / 458.5 MB, free: 17.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3973, allocations: 377 kB / 458.8 MB, free: 17.1 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007522/0.398, allocations: 489.9 kB / 459.3 MB, free: 16.85 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000919/0.3989, allocations: 0.9587 MB / 460.3 MB, free: 15.99 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008679/0.3998, allocations: 0.6973 MB / 461 MB, free: 15.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.3998, allocations: 7.844 kB / 461 MB, free: 15.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.00283/0.4027, allocations: 2.045 MB / 463 MB, free: 14.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.4027, allocations: 63.28 kB / 463.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.4028, allocations: 12.81 kB / 463.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009222/0.4037, allocations: 405.9 kB / 463.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.4051, allocations: 419.7 kB / 463.9 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003912/0.409, allocations: 3.675 MB / 467.6 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.4107, allocations: 158.8 kB / 467.7 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/0.4108, allocations: 76 kB / 467.8 MB, free: 10.76 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition4,$PRE.transmissionLine.busFault.fault,transmissionLine.busFault.fault,$whenCondition1,$whenCondition2,$PRE.transmissionLine.busFault.Y.re,transmissionLine.busFault.Y.re,$PRE.transmissionLine.busFault.Y.im,transmissionLine.busFault.Y.im) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 197 * Array equations: 0 * Algorithm blocks: 2 * 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 {(5,92.0%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007888/0.4116, allocations: 482.9 kB / 468.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.4118, allocations: 170 kB / 468.4 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.4143, allocations: 1.69 MB / 470.1 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.4144, allocations: 12 kB / 470.1 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4144, allocations: 4 kB / 470.2 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.4144, allocations: 11.97 kB / 470.2 MB, free: 8.352 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.004336/0.4187, allocations: 3.588 MB / 473.8 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.4187, allocations: 0 / 473.8 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.4198, allocations: 267.7 kB / 474 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007916/0.4206, allocations: 356.6 kB / 474.4 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.213e-05/0.4206, allocations: 28 kB / 474.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003914/0.4246, allocations: 3.64 MB / 478 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4246, allocations: 0 / 478 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/0.4289, allocations: 3.122 MB / 481.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008283/0.4298, allocations: 370.8 kB / 481.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.43, allocations: 36.2 kB / 481.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007704/0.4308, allocations: 63.67 kB / 481.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.431, allocations: 93.17 kB / 481.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-05/0.431, allocations: 41.81 kB / 481.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001091/0.4321, allocations: 0.7318 MB / 482.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4321, allocations: 0 / 482.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002052/0.4342, allocations: 0.584 MB / 483.1 MB, free: 11.14 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,transmissionLine.busFault.Y.re,transmissionLine.busFault.Y.im,transmissionLine.busFault.fault) * Number of discrete states: 7 ($whenCondition4,transmissionLine.busFault.Y.im,transmissionLine.busFault.Y.re,$whenCondition3,transmissionLine.busFault.fault,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 2 * 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 {(5,92.0%) 27} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004488/0.4346, allocations: 244.6 kB / 483.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003097/0.4378, allocations: 1.776 MB / 485.1 MB, free: 9.086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4378, allocations: 0 / 485.1 MB, free: 9.086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.4394, allocations: 1.071 MB / 486.1 MB, free: 7.984 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009896/0.4404, allocations: 167.5 kB / 486.3 MB, free: 7.824 MB / 334.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.006343/0.4467, allocations: 4.112 MB / 490.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009843/0.4477, allocations: 1.291 MB / 491.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/0.4481, allocations: 111.4 kB / 491.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4481, allocations: 3.938 kB / 491.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of Templates: time 0.03968/0.4878, allocations: 28.94 MB / 0.5086 GB, free: 5.297 MB / 366.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.makefile make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.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.TwoBusesResistiveTransmissionLineFaultCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFaultCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFaultCalcHelperMain.o] Error 1