Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.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.TestTransformerFixedRatio,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio") translateModel(PowerGrids.Electrical.Test.TestTransformerFixedRatio,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008658/0.0008659, allocations: 103 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.001038/0.001038, allocations: 176.5 kB / 16.58 MB, free: 6.109 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.51/1.51, allocations: 205.4 MB / 222.8 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.058/0.058, allocations: 14.16 MB / 285.2 MB, free: 7.129 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.00053/0.0005301, allocations: 16 kB / 346.8 MB, free: 19.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09923/0.09977, allocations: 51.11 MB / 397.9 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.006646/0.1065, allocations: 6.448 MB / 404.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005385/0.1119, allocations: 3.24 MB / 407.6 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.1132, allocations: 23.88 kB / 407.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.1144, allocations: 310.4 kB / 407.9 MB, free: 6.652 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003238/0.1176, allocations: 1.247 MB / 409.2 MB, free: 5.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000871/0.1185, allocations: 478.1 kB / 409.6 MB, free: 4.945 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002358/0.1209, allocations: 1.743 MB / 411.4 MB, free: 3.195 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.1211, allocations: 106.4 kB / 411.5 MB, free: 3.082 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006286/0.1218, allocations: 469.7 kB / 412 MB, free: 2.621 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005317/0.1223, allocations: 0.4939 MB / 412.4 MB, free: 2.125 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.437e-05/0.1224, allocations: 24 kB / 412.5 MB, free: 2.102 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008522/0.1232, allocations: 355.6 kB / 412.8 MB, free: 1.754 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.644e-05/0.1233, allocations: 107.3 kB / 412.9 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.1235, allocations: 209.2 kB / 413.1 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009582/0.1245, allocations: 0.9898 MB / 414.1 MB, free: 456 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1245, allocations: 0 / 414.1 MB, free: 456 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1245, allocations: 0 / 414.1 MB, free: 456 kB / 302.1 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.1245, allocations: 0 / 414.1 MB, free: 456 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003868/0.1284, allocations: 1.473 MB / 415.6 MB, free: 14.92 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1285, allocations: 16.02 kB / 415.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005355/0.129, allocations: 150.7 kB / 415.8 MB, free: 14.76 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009536/0.13, allocations: 0.621 MB / 416.4 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.13, allocations: 50 kB / 416.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.69e-05/0.1301, allocations: 68 kB / 416.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.1312, allocations: 0.7515 MB / 417.2 MB, free: 13.19 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.1313, allocations: 3.938 kB / 417.2 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-05/0.1313, allocations: 32 kB / 417.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.1313, allocations: 16 kB / 417.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009976/0.1323, allocations: 0.6636 MB / 418 MB, free: 12.47 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.004405/0.1367, allocations: 4.775 MB / 422.7 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.1383, allocations: 0.9478 MB / 423.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.1387, allocations: 279.1 kB / 423.9 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.789e-05/0.1388, allocations: 12.66 kB / 424 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.1388, allocations: 47.2 kB / 424 MB, free: 5.855 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 4.849e-06/0.1389, allocations: 0 / 424 MB, free: 5.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004562/0.1434, allocations: 1.689 MB / 425.7 MB, free: 4.133 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.1435, allocations: 64 kB / 425.8 MB, free: 4.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005503/0.144, allocations: 0.4991 MB / 426.3 MB, free: 3.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.1441, allocations: 37.7 kB / 426.3 MB, free: 3.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.1443, allocations: 359.9 kB / 426.6 MB, free: 3.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.1446, allocations: 268 kB / 426.9 MB, free: 2.883 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.1446, allocations: 16 kB / 426.9 MB, free: 2.867 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1448, allocations: 382.7 kB / 427.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.1451, allocations: 201.9 kB / 427.5 MB, free: 2.285 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.1455, allocations: 343.8 kB / 427.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.1459, allocations: 266.9 kB / 428.1 MB, free: 1.645 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1459, allocations: 4 kB / 428.1 MB, free: 1.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001708/0.1477, allocations: 0.9466 MB / 429 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.1477, allocations: 11.98 kB / 429.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1477, allocations: 4 kB / 429.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.1487, allocations: 303.5 kB / 429.4 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005799/0.1493, allocations: 163.8 kB / 429.5 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1722/0.3215, allocations: 3.09 MB / 432.6 MB, free: 34.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006814/0.3223, allocations: 52.98 kB / 432.7 MB, free: 34.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.3223, allocations: 28.31 kB / 432.7 MB, free: 34.96 MB / 318.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 (71): * Single equations (assignments): 70 * 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 23} Notification: Performance of prepare postOptimizeDAE: time 0.0003605/0.3227, allocations: 230.4 kB / 432.9 MB, free: 34.85 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.3228, allocations: 77.16 kB / 433 MB, free: 34.81 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.3246, allocations: 0.8824 MB / 433.9 MB, free: 34.6 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3246, allocations: 7.656 kB / 433.9 MB, free: 34.6 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.3246, allocations: 0 / 433.9 MB, free: 34.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.3246, allocations: 4.844 kB / 433.9 MB, free: 34.6 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002636/0.3272, allocations: 1.814 MB / 435.7 MB, free: 33.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3273, allocations: 0 / 435.7 MB, free: 33.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005055/0.3278, allocations: 132.4 kB / 435.8 MB, free: 33.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009752/0.3288, allocations: 298.2 kB / 436.1 MB, free: 33.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.3288, allocations: 10.41 kB / 436.1 MB, free: 33.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003624/0.3324, allocations: 2.974 MB / 439.1 MB, free: 31.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3325, allocations: 0.7031 kB / 439.1 MB, free: 31.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.3339, allocations: 0.9443 MB / 440 MB, free: 30.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.3342, allocations: 206.5 kB / 440.2 MB, free: 30.78 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.351e-05/0.3343, allocations: 15.42 kB / 440.3 MB, free: 30.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.3346, allocations: 39.11 kB / 440.3 MB, free: 30.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3347, allocations: 52.81 kB / 440.3 MB, free: 30.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.3348, allocations: 16.78 kB / 440.4 MB, free: 30.74 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004269/0.3352, allocations: 346.3 kB / 440.7 MB, free: 30.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3352, allocations: 0 / 440.7 MB, free: 30.58 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00096/0.3362, allocations: 302 kB / 441 MB, free: 30.54 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 (51): * Single equations (assignments): 50 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002495/0.3364, allocations: 168.8 kB / 441.2 MB, free: 30.44 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 initialization part: time 0.001349/0.3378, allocations: 0.8483 MB / 442 MB, free: 30.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3378, allocations: 1.094 kB / 442 MB, free: 30.05 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 simulation system equations: time 0.0008416/0.3386, allocations: 0.5706 MB / 442.6 MB, free: 29.74 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.3392, allocations: 88.88 kB / 442.7 MB, free: 29.69 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.002101/0.3413, allocations: 1.568 MB / 444.2 MB, free: 28.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.3418, allocations: 0.939 MB / 445.2 MB, free: 28.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.3419, allocations: 54.11 kB / 445.2 MB, free: 28 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3419, allocations: 0 / 445.2 MB, free: 28 MB / 318.1 MB Notification: Performance of Templates: time 0.0139/0.3558, allocations: 12.58 MB / 457.8 MB, free: 21.45 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.makefile make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.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.TestTransformerFixedRatioCalcHelperMain.o OMCppPowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioCalcHelperMain.o] Error 1