Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.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.TestTwoBusesTwoTransmLinesWithBreakersOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad") translateModel(PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007857/0.0007859, allocations: 102.7 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.0008577/0.0008577, allocations: 177.1 kB / 16.58 MB, free: 6.039 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.545/1.545, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05666/0.05666, allocations: 14.17 MB / 285.2 MB, free: 7.133 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.000547/0.0005471, allocations: 12 kB / 346.8 MB, free: 19.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1068, allocations: 51.13 MB / 397.9 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad): time 0.009903/0.1168, allocations: 10.8 MB / 408.7 MB, free: 5.863 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008334/0.1252, allocations: 4.717 MB / 413.5 MB, free: 1.137 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.1265, allocations: 39.81 kB / 413.5 MB, free: 1.098 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.1277, allocations: 481.4 kB / 414 MB, free: 0.625 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004679/0.1324, allocations: 1.913 MB / 415.9 MB, free: 14.72 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009887/0.1334, allocations: 490.2 kB / 416.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004101/0.1375, allocations: 3.417 MB / 419.8 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004233/0.138, allocations: 209.7 kB / 420 MB, free: 10.6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.1393, allocations: 0.9371 MB / 420.9 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.1404, allocations: 0.9608 MB / 421.9 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.1405, allocations: 48 kB / 421.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.1416, allocations: 391.7 kB / 422.3 MB, free: 8.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.1418, allocations: 202.8 kB / 422.5 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003749/0.1421, allocations: 372.8 kB / 422.9 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.1438, allocations: 1.734 MB / 424.6 MB, free: 5.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1438, allocations: 4 kB / 424.6 MB, free: 5.949 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1438, allocations: 0 / 424.6 MB, free: 5.949 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.1438, allocations: 0 / 424.6 MB, free: 5.949 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.006429/0.1503, allocations: 2.517 MB / 427.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1503, allocations: 8.031 kB / 427.1 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009654/0.1513, allocations: 285.7 kB / 427.4 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.1531, allocations: 1.031 MB / 428.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.1533, allocations: 178.1 kB / 428.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.1535, allocations: 143.9 kB / 428.8 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.1556, allocations: 1.423 MB / 430.2 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.1557, allocations: 0 / 430.2 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.1558, allocations: 63.98 kB / 430.2 MB, free: 88 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/0.1558, allocations: 36 kB / 430.3 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2056/0.3614, allocations: 1.376 MB / 431.6 MB, free: 20.25 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.007946/0.3694, allocations: 8.846 MB / 440.5 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.3719, allocations: 1.531 MB / 442 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009103/0.3728, allocations: 0.591 MB / 442.6 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.97e-05/0.3729, allocations: 16.83 kB / 442.6 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001416/0.3743, allocations: 1.206 MB / 443.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=167): time 3.737e-06/0.3743, allocations: 0.7656 kB / 443.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=167): time 0.00833/0.3827, allocations: 3.234 MB / 447.1 MB, free: 12.96 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.3828, allocations: 0.5415 MB / 447.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009416/0.3838, allocations: 0.7907 MB / 448.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-05/0.3839, allocations: 57.55 kB / 448.5 MB, free: 12.15 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004832/0.3844, allocations: 0.5862 MB / 449 MB, free: 11.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004144/0.3848, allocations: 0.5415 MB / 449.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.533e-05/0.3849, allocations: 36.64 kB / 449.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.385, allocations: 367.7 kB / 450 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007666/0.3858, allocations: 440.3 kB / 450.4 MB, free: 11.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009169/0.3867, allocations: 0.6854 MB / 451.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008442/0.3875, allocations: 0.6312 MB / 451.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.3876, allocations: 5.453 kB / 451.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.003213/0.3908, allocations: 1.932 MB / 453.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.233e-05/0.3909, allocations: 130.5 kB / 453.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.3909, allocations: 6.969 kB / 453.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.3922, allocations: 461.8 kB / 454.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.3933, allocations: 319.9 kB / 454.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005253/0.3986, allocations: 4.028 MB / 458.6 MB, free: 8.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.3998, allocations: 95.86 kB / 458.7 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.961e-05/0.3999, allocations: 56.41 kB / 458.7 MB, free: 8.512 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 28 (transmissionLine2.breakerStatusInternalB,transmissionLine2.breakerStatusInternalA,transmissionLine1.breakerStatusInternalB,transmissionLine1.breakerStatusInternalA,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$PRE.transmissionLine1.breakerStatus,transmissionLine1.breakerStatus,$PRE.transmissionLine2.breakerStatus,transmissionLine2.breakerStatus,$PRE.transmissionLine1.breakerStatusInternalA,$PRE.transmissionLine1.breakerStatusInternalB,$PRE.transmissionLine2.breakerStatusInternalA,$PRE.transmissionLine2.breakerStatusInternalB) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 4 * 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 {6 35} Notification: Performance of prepare postOptimizeDAE: time 0.0007501/0.4006, allocations: 427.1 kB / 459.2 MB, free: 8.195 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.4008, allocations: 153 kB / 459.3 MB, free: 8.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/0.4037, allocations: 1.877 MB / 461.2 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.4037, allocations: 21.3 kB / 461.2 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.4038, allocations: 0 / 461.2 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.4038, allocations: 8.438 kB / 461.2 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004412/0.4082, allocations: 3.417 MB / 464.6 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.4082, allocations: 0 / 464.6 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009544/0.4092, allocations: 265.7 kB / 464.9 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.4102, allocations: 432.7 kB / 465.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-05/0.4103, allocations: 37.72 kB / 465.3 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004526/0.4149, allocations: 3.941 MB / 469.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.4149, allocations: 7.094 kB / 469.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/0.418, allocations: 1.931 MB / 471.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005638/0.4186, allocations: 327.1 kB / 471.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.4187, allocations: 39.98 kB / 471.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005956/0.4193, allocations: 63.67 kB / 471.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.4196, allocations: 127.1 kB / 471.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.341e-05/0.4197, allocations: 44 kB / 471.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006585/0.4203, allocations: 0.5287 MB / 472.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4203, allocations: 0 / 472.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001555/0.4219, allocations: 0.5542 MB / 472.9 MB, free: 13.46 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: 18 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,transmissionLine1.breakerStatus,transmissionLine2.breakerStatus) * Number of discrete states: 18 (transmissionLine2.breakerStatus,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,transmissionLine1.breakerStatus,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * 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 {6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003998/0.4223, allocations: 231 kB / 473.1 MB, free: 13.25 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 initialization part: time 0.003212/0.4255, allocations: 1.993 MB / 475.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4255, allocations: 4 kB / 475.1 MB, free: 11.21 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 simulation system equations: time 0.001775/0.4273, allocations: 1.391 MB / 476.5 MB, free: 9.812 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008669/0.4282, allocations: 164.1 kB / 476.7 MB, free: 9.648 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.004274/0.4325, allocations: 2.953 MB / 479.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008243/0.4333, allocations: 1.191 MB / 480.8 MB, free: 5.488 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/0.4336, allocations: 95.42 kB / 480.9 MB, free: 5.398 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4336, allocations: 3.938 kB / 480.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of Templates: time 0.03071/0.4643, allocations: 24.11 MB / 0.4932 GB, free: 13.33 MB / 366.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.makefile make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.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.TestTwoBusesTwoTransmLinesWithBreakersOneLoadCalcHelperMain.o OMCppPowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoadCalcHelperMain.o] Error 1