Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.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.OneBusTransmissionLineShuntOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009/0.0008999, allocations: 99.59 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.00139/0.00139, allocations: 177.8 kB / 16.58 MB, free: 6.426 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.493/1.493, allocations: 223.3 MB / 240.6 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2194/0.2194, allocations: 14.22 MB / 305.9 MB, free: 1.062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003863, allocations: 11.98 kB / 370.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 53.91 MB / 424.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.2586/0.3945, allocations: 7.737 MB / 432 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006766/0.4013, allocations: 3.681 MB / 435.7 MB, free: 33.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.4024, allocations: 25.81 kB / 435.7 MB, free: 33.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.4035, allocations: 367.8 kB / 436.1 MB, free: 33.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003688/0.4072, allocations: 1.393 MB / 437.5 MB, free: 32.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.4083, allocations: 0.5525 MB / 438 MB, free: 32.13 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.00271/0.411, allocations: 1.989 MB / 440 MB, free: 31.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.4121, allocations: 0.5089 MB / 440.5 MB, free: 30.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.4135, allocations: 0.5946 MB / 441.1 MB, free: 30.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.4147, allocations: 0.6748 MB / 441.8 MB, free: 30.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.4148, allocations: 37.97 kB / 441.8 MB, free: 30.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.416, allocations: 377.6 kB / 442.2 MB, free: 30.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.4162, allocations: 153.4 kB / 442.3 MB, free: 30.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003372/0.4165, allocations: 256.7 kB / 442.6 MB, free: 29.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.4177, allocations: 1.274 MB / 443.9 MB, free: 29.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4177, allocations: 0 / 443.9 MB, free: 29.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4177, allocations: 0 / 443.9 MB, free: 29.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.4177, allocations: 0 / 443.9 MB, free: 29.53 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: 231 * Number of variables: 231 Notification: Performance of Generate backend data structure: time 0.006072/0.4238, allocations: 1.977 MB / 445.8 MB, free: 28.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.4239, allocations: 13.59 kB / 445.9 MB, free: 28.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008346/0.4247, allocations: 185.5 kB / 446 MB, free: 28.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.4262, allocations: 0.7793 MB / 446.8 MB, free: 27.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.778e-05/0.4262, allocations: 73.62 kB / 446.9 MB, free: 27.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.4264, allocations: 91.53 kB / 447 MB, free: 27.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.4278, allocations: 0.9092 MB / 447.9 MB, free: 27.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.4279, allocations: 3.938 kB / 447.9 MB, free: 27.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/0.4279, allocations: 41.31 kB / 447.9 MB, free: 27.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.428, allocations: 25.83 kB / 448 MB, free: 27.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.4292, allocations: 0.8516 MB / 448.8 MB, free: 27.08 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.005344/0.4346, allocations: 6.039 MB / 454.9 MB, free: 21.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.4363, allocations: 1.407 MB / 456.3 MB, free: 20.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/0.4367, allocations: 370 kB / 456.6 MB, free: 20.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.132e-05/0.4368, allocations: 10.72 kB / 456.6 MB, free: 20.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.4368, allocations: 59.2 kB / 456.7 MB, free: 20.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=93): time 3.547e-06/0.4369, allocations: 0 / 456.7 MB, free: 20.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=93): time 0.004292/0.4411, allocations: 1.684 MB / 458.4 MB, free: 20.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.4412, allocations: 117.6 kB / 458.5 MB, free: 19.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007813/0.442, allocations: 0.6993 MB / 459.2 MB, free: 19.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.4421, allocations: 47.17 kB / 459.2 MB, free: 19.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.4423, allocations: 486.4 kB / 459.7 MB, free: 19.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.4426, allocations: 343.8 kB / 460 MB, free: 18.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.4427, allocations: 30.34 kB / 460.1 MB, free: 18.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4428, allocations: 414.4 kB / 460.5 MB, free: 18.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006355/0.4435, allocations: 424.3 kB / 460.9 MB, free: 18.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007083/0.4442, allocations: 0.6642 MB / 461.6 MB, free: 17.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007511/0.4449, allocations: 0.5334 MB / 462.1 MB, free: 17.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.4449, allocations: 0 / 462.1 MB, free: 17.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=211) (initialization): time 0.002481/0.4474, allocations: 1.62 MB / 463.7 MB, free: 17.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.4475, allocations: 9.125 kB / 463.7 MB, free: 17.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.4475, allocations: 9.938 kB / 463.7 MB, free: 17.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009085/0.4484, allocations: 302.2 kB / 464 MB, free: 16.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.4496, allocations: 365 kB / 464.4 MB, free: 16.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003597/0.4532, allocations: 2.99 MB / 467.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009865/0.4542, allocations: 121.2 kB / 467.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-05/0.4543, allocations: 58.67 kB / 467.5 MB, free: 14.72 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (187): * Single equations (assignments): 186 * 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 {6 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004185/0.4547, allocations: 283 kB / 467.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.4549, allocations: 107.2 kB / 467.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.4568, allocations: 0.9732 MB / 468.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.4568, allocations: 13.86 kB / 468.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4568, allocations: 1.031 kB / 468.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.4568, allocations: 7.547 kB / 468.9 MB, free: 13.97 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.003361/0.4602, allocations: 2.502 MB / 471.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.4602, allocations: 1 kB / 471.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006336/0.4608, allocations: 168 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008752/0.4617, allocations: 287.5 kB / 471.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.233e-05/0.4618, allocations: 25.7 kB / 471.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003689/0.4655, allocations: 2.904 MB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4655, allocations: 5.125 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.4675, allocations: 1.06 MB / 475.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004229/0.4679, allocations: 248.9 kB / 476.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.4681, allocations: 20.7 kB / 476.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/0.4685, allocations: 30.55 kB / 476.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.4687, allocations: 61.84 kB / 476.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/0.4687, allocations: 28.92 kB / 476.2 MB, free: 9.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007449/0.4695, allocations: 460.7 kB / 476.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4695, allocations: 0 / 476.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001566/0.4711, allocations: 437.4 kB / 477.1 MB, free: 9.164 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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 {6 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003117/0.4714, allocations: 178.8 kB / 477.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002402/0.4738, allocations: 1.316 MB / 478.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4738, allocations: 4.062 kB / 478.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009859/0.4748, allocations: 0.6352 MB / 479.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007305/0.4755, allocations: 104.6 kB / 479.4 MB, free: 8.074 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.002967/0.4785, allocations: 1.968 MB / 481.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000627/0.4792, allocations: 1.022 MB / 482.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.4794, allocations: 79.19 kB / 482.4 MB, free: 6.105 MB / 350.1 MB Notification: Performance of SimCode: time 1.323e-06/0.4794, allocations: 0 / 482.4 MB, free: 6.105 MB / 350.1 MB Notification: Performance of Templates: time 0.0348/0.5142, allocations: 17.6 MB / 0.4883 GB, free: 11.71 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.makefile make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.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.OneBusTransmissionLineShuntOneLoadCalcHelperMain.o OMCppPowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoadCalcHelperMain.o] Error 1