Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestOneBusTransmissionLineWithBreakersOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad") translateModel(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008312/0.0008311, 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.0009404/0.0009407, 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 4.0.0+maint.om/package.mo): time 1.736/1.736, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.364/0.364, allocations: 14.23 MB / 305.9 MB, free: 1.133 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003924, allocations: 12 kB / 370.4 MB, free: 6.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1724, allocations: 53.91 MB / 424.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad): time 0.3775/0.5499, allocations: 8.042 MB / 432.3 MB, free: 36.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006245/0.5562, allocations: 3.762 MB / 436.1 MB, free: 33.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000737/0.557, allocations: 31.41 kB / 436.1 MB, free: 33.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009629/0.558, allocations: 374.9 kB / 436.5 MB, free: 33.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0038/0.5618, allocations: 1.55 MB / 438 MB, free: 32.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.5628, allocations: 490.7 kB / 438.5 MB, free: 32.05 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘loadPQ.UStart / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘transmissionLine.UStartA / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘transmissionLine.UStartB / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.003185/0.566, allocations: 2.166 MB / 440.7 MB, free: 30.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000998/0.567, allocations: 0.5201 MB / 441.2 MB, free: 30.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.5682, allocations: 0.6676 MB / 441.9 MB, free: 30.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008159/0.569, allocations: 0.7211 MB / 442.6 MB, free: 30.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.177e-05/0.5691, allocations: 41.59 kB / 442.6 MB, free: 30.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.5702, allocations: 374.9 kB / 443 MB, free: 29.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.5704, allocations: 154.8 kB / 443.1 MB, free: 29.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002805/0.5707, allocations: 285 kB / 443.4 MB, free: 29.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.572, allocations: 1.34 MB / 444.8 MB, free: 29.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.5721, allocations: 0 / 444.8 MB, free: 29.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5721, allocations: 0 / 444.8 MB, free: 29.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.5721, allocations: 2.906 kB / 444.8 MB, free: 29.32 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006221/0.5783, allocations: 2.059 MB / 446.8 MB, free: 28.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.5784, allocations: 12.19 kB / 446.8 MB, free: 28.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008243/0.5792, allocations: 202 kB / 447 MB, free: 28.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.5806, allocations: 0.8046 MB / 447.8 MB, free: 27.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.5807, allocations: 125.6 kB / 448 MB, free: 27.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.5809, allocations: 101 kB / 448.1 MB, free: 27.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.5824, allocations: 0.9629 MB / 449 MB, free: 27.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.5825, allocations: 8.828 kB / 449 MB, free: 27.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.362e-05/0.5826, allocations: 42.06 kB / 449.1 MB, free: 27.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/0.5826, allocations: 23.09 kB / 449.1 MB, free: 27.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.5841, allocations: 0.9465 MB / 450 MB, free: 26.7 MB / 350.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.005757/0.5898, allocations: 6.164 MB / 456.2 MB, free: 21.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.5917, allocations: 1.427 MB / 457.6 MB, free: 20.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.5922, allocations: 397.6 kB / 458 MB, free: 20.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.969e-05/0.5923, allocations: 17.75 kB / 458 MB, free: 20.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009471/0.5933, allocations: 0.7529 MB / 458.8 MB, free: 19.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=108): time 3.136e-06/0.5933, allocations: 0 / 458.8 MB, free: 19.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=108): time 0.004858/0.5981, allocations: 1.936 MB / 460.7 MB, free: 19.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.5983, allocations: 387.2 kB / 461.1 MB, free: 18.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000832/0.5991, allocations: 0.7051 MB / 461.8 MB, free: 18.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.21e-05/0.5992, allocations: 50.7 kB / 461.9 MB, free: 18.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/0.5996, allocations: 485.5 kB / 462.3 MB, free: 17.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/0.5999, allocations: 385 kB / 462.7 MB, free: 17.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.475e-05/0.6, allocations: 36.97 kB / 462.8 MB, free: 17.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.6002, allocations: 423.1 kB / 463.2 MB, free: 17.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000731/0.6009, allocations: 456.2 kB / 463.6 MB, free: 17.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008933/0.6018, allocations: 0.726 MB / 464.3 MB, free: 16.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009186/0.6028, allocations: 0.604 MB / 464.9 MB, free: 16.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.6028, allocations: 3.641 kB / 464.9 MB, free: 16.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.002926/0.6057, allocations: 1.785 MB / 466.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.925e-05/0.6058, allocations: 72.61 kB / 466.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/0.6059, allocations: 11.22 kB / 466.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.6069, allocations: 288.3 kB / 467.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.6083, allocations: 367.2 kB / 467.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004606/0.6129, allocations: 2.954 MB / 470.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.6141, allocations: 119.8 kB / 470.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.6142, allocations: 66.2 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 14 (transmissionLine.breakerStatusInternalB,transmissionLine.breakerStatusInternalA,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.transmissionLine.breakerStatus,transmissionLine.breakerStatus,$PRE.transmissionLine.breakerStatusInternalA,$PRE.transmissionLine.breakerStatusInternalB) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 191 * 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: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0006353/0.6149, allocations: 336.3 kB / 470.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.6151, allocations: 111.5 kB / 471 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/0.6175, allocations: 1.181 MB / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/0.6176, allocations: 14.09 kB / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6176, allocations: 1.344 kB / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.6176, allocations: 6.562 kB / 472.2 MB, free: 12.2 MB / 350.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.004496/0.6221, allocations: 2.817 MB / 475 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.6221, allocations: 5.359 kB / 475 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007678/0.6229, allocations: 179.9 kB / 475.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009548/0.6239, allocations: 271.2 kB / 475.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.139e-05/0.6239, allocations: 27.06 kB / 475.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004147/0.6281, allocations: 2.888 MB / 478.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6281, allocations: 1.969 kB / 478.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.6306, allocations: 1.273 MB / 479.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/0.6311, allocations: 261.6 kB / 479.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.6312, allocations: 26.23 kB / 480 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004747/0.6317, allocations: 33.34 kB / 480 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.6319, allocations: 80.75 kB / 480.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-05/0.632, allocations: 27.25 kB / 480.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007915/0.6328, allocations: 466.8 kB / 480.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6328, allocations: 0 / 480.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001937/0.6347, allocations: 470.3 kB / 481 MB, free: 7.102 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,transmissionLine.breakerStatus) * Number of discrete states: 9 (transmissionLine.breakerStatus,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.00042/0.6351, allocations: 205.5 kB / 481.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002937/0.6381, allocations: 1.599 MB / 482.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6381, allocations: 1.688 kB / 482.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.6395, allocations: 0.8565 MB / 483.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007657/0.6403, allocations: 116.1 kB / 483.8 MB, free: 5.605 MB / 350.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.003729/0.644, allocations: 2.113 MB / 485.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008548/0.6449, allocations: 1.045 MB / 486.9 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.6452, allocations: 86.17 kB / 487 MB, free: 3.551 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.6452, allocations: 0 / 487 MB, free: 3.551 MB / 350.1 MB Notification: Performance of Templates: time 0.03685/0.6821, allocations: 18.8 MB / 0.494 GB, free: 5.715 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.makefile make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.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_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoadCalcHelperMain.o OMCppPowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoadCalcHelperMain.o] Error 1