Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ.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.LoadImpedancePQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ") translateModel(PowerGrids.Electrical.Test.LoadImpedancePQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 100.5 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.002006/0.002006, allocations: 176 kB / 16.58 MB, free: 6.422 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.631/1.631, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2545/0.2545, allocations: 14.23 MB / 305.9 MB, free: 1.121 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003822, allocations: 8 kB / 370.4 MB, free: 6.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.147, allocations: 53.92 MB / 424.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.3116/0.4587, allocations: 9.373 MB / 433.7 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006998/0.4657, allocations: 4.071 MB / 437.7 MB, free: 32.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.4671, allocations: 28.5 kB / 437.8 MB, free: 32.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.4684, allocations: 407.7 kB / 438.2 MB, free: 31.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004866/0.4733, allocations: 1.571 MB / 439.7 MB, free: 30.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009165/0.4742, allocations: 299.8 kB / 440 MB, free: 30.76 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 ‘load1.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 ‘load2.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 ‘load3.UStart / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.003499/0.4777, allocations: 2.55 MB / 442.6 MB, free: 29.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.4789, allocations: 0.5783 MB / 443.1 MB, free: 29.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.4804, allocations: 0.7491 MB / 443.9 MB, free: 28.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.4816, allocations: 0.8153 MB / 444.7 MB, free: 28.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.4818, allocations: 45.12 kB / 444.8 MB, free: 28.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.4829, allocations: 341.2 kB / 445.1 MB, free: 28.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.4831, allocations: 183.1 kB / 445.3 MB, free: 28.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005291/0.4836, allocations: 316.9 kB / 445.6 MB, free: 28.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.4853, allocations: 1.49 MB / 447.1 MB, free: 27.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.4853, allocations: 0 / 447.1 MB, free: 27.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4853, allocations: 3.938 kB / 447.1 MB, free: 27.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.4853, allocations: 0 / 447.1 MB, free: 27.6 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.009331/0.4946, allocations: 2.617 MB / 449.7 MB, free: 26.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.4947, allocations: 10.22 kB / 449.7 MB, free: 26.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.4958, allocations: 240.6 kB / 449.9 MB, free: 26.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.4975, allocations: 0.9164 MB / 450.9 MB, free: 25.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-05/0.4976, allocations: 86.92 kB / 450.9 MB, free: 25.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.4977, allocations: 110.1 kB / 451 MB, free: 25.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.4994, allocations: 1.169 MB / 452.2 MB, free: 25.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.4994, allocations: 7.875 kB / 452.2 MB, free: 25.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.972e-05/0.4995, allocations: 44.91 kB / 452.3 MB, free: 25.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.4995, allocations: 26.84 kB / 452.3 MB, free: 25.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.5011, allocations: 1.079 MB / 453.4 MB, free: 24.67 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.005815/0.5069, allocations: 7.111 MB / 460.5 MB, free: 18.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/0.5091, allocations: 1.551 MB / 462 MB, free: 17.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005892/0.5097, allocations: 445.6 kB / 462.5 MB, free: 17.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.906e-05/0.5098, allocations: 22.61 kB / 462.5 MB, free: 17.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.5099, allocations: 51.84 kB / 462.5 MB, free: 17.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=119): time 2.845e-06/0.5099, allocations: 0 / 462.5 MB, free: 17.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=119): time 0.002961/0.5128, allocations: 1.75 MB / 464.3 MB, free: 16.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.5129, allocations: 198.7 kB / 464.5 MB, free: 16.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008956/0.5138, allocations: 0.8069 MB / 465.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.5139, allocations: 48.05 kB / 465.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/0.5142, allocations: 0.5145 MB / 465.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/0.5145, allocations: 435.5 kB / 466.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/0.5146, allocations: 37.16 kB / 466.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5147, allocations: 371.4 kB / 466.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006931/0.5154, allocations: 497.1 kB / 467.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007928/0.5162, allocations: 0.6809 MB / 467.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008361/0.517, allocations: 0.5953 MB / 468.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.5171, allocations: 2.969 kB / 468.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.002662/0.5197, allocations: 1.669 MB / 470.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.5198, allocations: 6.375 kB / 470.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.5198, allocations: 6.609 kB / 470.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005382/0.5203, allocations: 165.5 kB / 470.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.5221, allocations: 453.4 kB / 470.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003209/0.5253, allocations: 4.452 MB / 475.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.5267, allocations: 123.6 kB / 475.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.5268, allocations: 64.94 kB / 475.4 MB, free: 8.691 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (212): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005929/0.5274, allocations: 308.4 kB / 475.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/0.5277, allocations: 118.8 kB / 475.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.5299, allocations: 1.177 MB / 477 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.5299, allocations: 13.56 kB / 477 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.5299, allocations: 3.906 kB / 477 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.53, allocations: 7.359 kB / 477 MB, free: 7.832 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.004445/0.5344, allocations: 3.145 MB / 480.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.5344, allocations: 3.266 kB / 480.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.5356, allocations: 289.5 kB / 480.4 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004712/0.5361, allocations: 160.1 kB / 480.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.049e-05/0.5361, allocations: 29.92 kB / 480.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003255/0.5394, allocations: 4.449 MB / 485 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5394, allocations: 1.375 kB / 485 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.5416, allocations: 1.373 MB / 486.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006297/0.5423, allocations: 285.8 kB / 486.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.5425, allocations: 22.47 kB / 486.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008968/0.5434, allocations: 49.98 kB / 486.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.5436, allocations: 81.97 kB / 486.9 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/0.5437, allocations: 33.34 kB / 486.9 MB, free: 492 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009658/0.5447, allocations: 0.5259 MB / 487.4 MB, free: 248 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5447, allocations: 0 / 487.4 MB, free: 248 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.002302/0.547, allocations: 464.2 kB / 487.9 MB, free: 184 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (110): * Single equations (assignments): 107 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004577/0.5475, allocations: 215.4 kB / 488.1 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004267/0.5517, allocations: 1.643 MB / 489.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.5518, allocations: 0 / 489.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001879/0.5537, allocations: 0.8798 MB / 490.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.5554, allocations: 132.4 kB / 490.7 MB, free: 14.59 MB / 366.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.005668/0.5611, allocations: 2.529 MB / 493.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.5622, allocations: 1.102 MB / 494.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005091/0.5628, allocations: 117 kB / 494.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.5628, allocations: 0 / 494.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of Templates: time 0.0486/0.6114, allocations: 32.57 MB / 0.5147 GB, free: 15.77 MB / 398.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ.makefile make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ.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.LoadImpedancePQCalcHelperMain.o OMCppPowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQCalcHelperMain.o] Error 1