Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.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.OneBusImpedanceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007986/0.0007986, allocations: 90.3 kB / 16.33 MB, free: 6.805 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.0009393/0.0009394, allocations: 187.8 kB / 17.23 MB, free: 6.645 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.441/1.441, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05683/0.05683, allocations: 14.17 MB / 285.8 MB, free: 13.99 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.0004955/0.0004955, allocations: 12 kB / 347.4 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2537, allocations: 51.1 MB / 398.5 MB, free: 47.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.003264/0.257, allocations: 3.724 MB / 402.3 MB, free: 44.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.2594, allocations: 2.257 MB / 404.5 MB, free: 42.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.2596, allocations: 10.06 kB / 404.5 MB, free: 42.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004321/0.2601, allocations: 181.4 kB / 404.7 MB, free: 42.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.2617, allocations: 0.8922 MB / 405.6 MB, free: 42.13 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.262, allocations: 206.3 kB / 405.8 MB, free: 41.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009226/0.2629, allocations: 0.9034 MB / 406.7 MB, free: 41.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.2631, allocations: 54.83 kB / 406.8 MB, free: 41.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.2634, allocations: 245.1 kB / 407 MB, free: 41.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003362/0.2637, allocations: 246.2 kB / 407.2 MB, free: 41.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.2638, allocations: 16.94 kB / 407.3 MB, free: 41.14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004961/0.2643, allocations: 230.3 kB / 407.5 MB, free: 41.05 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.2643, allocations: 48.73 kB / 407.5 MB, free: 41.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.2644, allocations: 114.3 kB / 407.6 MB, free: 40.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004935/0.2649, allocations: 0.5243 MB / 408.2 MB, free: 40.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.265, allocations: 3.938 kB / 408.2 MB, free: 40.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.265, allocations: 0 / 408.2 MB, free: 40.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.265, allocations: 0 / 408.2 MB, free: 40.57 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001724/0.2667, allocations: 0.861 MB / 409 MB, free: 39.88 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2667, allocations: 13.33 kB / 409 MB, free: 39.87 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002629/0.267, allocations: 73.19 kB / 409.1 MB, free: 39.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.2675, allocations: 412.2 kB / 409.5 MB, free: 39.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.2676, allocations: 29.17 kB / 409.5 MB, free: 39.45 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.2676, allocations: 29.5 kB / 409.6 MB, free: 39.44 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.2681, allocations: 340.6 kB / 409.9 MB, free: 39.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2682, allocations: 3.938 kB / 409.9 MB, free: 39.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.2682, allocations: 19.2 kB / 409.9 MB, free: 39.2 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.2682, allocations: 8.375 kB / 409.9 MB, free: 39.2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.2687, allocations: 310 kB / 410.2 MB, free: 39.05 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.001522/0.2702, allocations: 2.144 MB / 412.4 MB, free: 36.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007371/0.2709, allocations: 0.5398 MB / 412.9 MB, free: 36.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.2711, allocations: 121.5 kB / 413 MB, free: 36.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.2712, allocations: 4 kB / 413 MB, free: 36.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.2712, allocations: 42.31 kB / 413.1 MB, free: 36.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 1.293e-06/0.2712, allocations: 0 / 413.1 MB, free: 36.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001745/0.2729, allocations: 0.7519 MB / 413.8 MB, free: 35.33 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.273, allocations: 67.34 kB / 413.9 MB, free: 35.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.2732, allocations: 304.5 kB / 414.2 MB, free: 34.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.2732, allocations: 29.7 kB / 414.2 MB, free: 34.92 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.2733, allocations: 196.3 kB / 414.4 MB, free: 34.72 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.353e-05/0.2734, allocations: 122.3 kB / 414.5 MB, free: 34.6 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.39e-05/0.2734, allocations: 8 kB / 414.6 MB, free: 34.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.01e-05/0.2735, allocations: 346.8 kB / 414.9 MB, free: 34.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.2736, allocations: 92.61 kB / 415 MB, free: 34.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.2737, allocations: 120.3 kB / 415.1 MB, free: 34.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.2739, allocations: 103.9 kB / 415.2 MB, free: 33.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2739, allocations: 4 kB / 415.2 MB, free: 33.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007169/0.2746, allocations: 438.3 kB / 415.6 MB, free: 33.49 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2746, allocations: 8 kB / 415.6 MB, free: 33.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.2747, allocations: 3.984 kB / 415.6 MB, free: 33.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005573/0.2752, allocations: 160.7 kB / 415.8 MB, free: 33.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.2755, allocations: 71.89 kB / 415.9 MB, free: 33.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.2775, allocations: 2.044 MB / 417.9 MB, free: 31.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.2777, allocations: 23.84 kB / 417.9 MB, free: 31.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.2777, allocations: 12 kB / 418 MB, free: 31.04 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (29): * Single equations (assignments): 28 * 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: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.2779, allocations: 153.8 kB / 418.1 MB, free: 30.88 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.2779, allocations: 43.48 kB / 418.1 MB, free: 30.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007887/0.2787, allocations: 461.7 kB / 418.6 MB, free: 30.38 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2787, allocations: 4 kB / 418.6 MB, free: 30.37 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.2787, allocations: 0 / 418.6 MB, free: 30.37 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2787, allocations: 7.984 kB / 418.6 MB, free: 30.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.2799, allocations: 1.061 MB / 419.7 MB, free: 29.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2799, allocations: 4 kB / 419.7 MB, free: 29.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.2801, allocations: 55.97 kB / 419.7 MB, free: 29.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004818/0.2806, allocations: 160.6 kB / 419.9 MB, free: 29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.2806, allocations: 4 kB / 419.9 MB, free: 29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.2824, allocations: 2.014 MB / 421.9 MB, free: 26.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2825, allocations: 0 / 421.9 MB, free: 26.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.2835, allocations: 1.247 MB / 423.1 MB, free: 25.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.984e-05/0.2836, allocations: 148.5 kB / 423.3 MB, free: 25.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.2837, allocations: 12 kB / 423.3 MB, free: 25.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.2838, allocations: 15.91 kB / 423.3 MB, free: 25.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.2839, allocations: 27.95 kB / 423.3 MB, free: 25.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.2839, allocations: 12 kB / 423.4 MB, free: 25.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.2841, allocations: 207.1 kB / 423.6 MB, free: 25.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2841, allocations: 0 / 423.6 MB, free: 25.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005419/0.2846, allocations: 147.9 kB / 423.7 MB, free: 24.97 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 0 * Non-linear torn systems: 1 {4 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002037/0.2848, allocations: 143.2 kB / 423.8 MB, free: 24.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006858/0.2855, allocations: 463.5 kB / 424.3 MB, free: 24.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2856, allocations: 0 / 424.3 MB, free: 24.35 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004684/0.286, allocations: 358 kB / 424.6 MB, free: 23.99 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.2864, allocations: 56.2 kB / 424.7 MB, free: 23.94 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.001101/0.2875, allocations: 1.085 MB / 425.8 MB, free: 22.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.2878, allocations: 0.8156 MB / 426.6 MB, free: 21.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.162e-05/0.2878, allocations: 27.44 kB / 426.6 MB, free: 21.95 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2878, allocations: 0 / 426.6 MB, free: 21.95 MB / 318.1 MB Notification: Performance of Templates: time 0.006591/0.2944, allocations: 6.523 MB / 433.2 MB, free: 15.42 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.makefile make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.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.OneBusImpedanceOneLoadCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoadCalcHelperMain.o] Error 1