Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008714/0.0008716, allocations: 100.4 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.3 MB / 239.7 MB, free: 5.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 184.5 kB / 290.9 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5353/0.5353, allocations: 79.48 MB / 421.5 MB, free: 3.945 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004029, allocations: 8 kB / 0.4897 GB, free: 5.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1719, allocations: 69.52 MB / 0.5576 GB, free: 8 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.3044/0.4763, allocations: 3.071 MB / 0.5606 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.4784, allocations: 1.003 MB / 0.5616 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.4786, allocations: 7.906 kB / 0.5616 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.4789, allocations: 79.92 kB / 0.5617 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.4792, allocations: 148.9 kB / 0.5618 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.4799, allocations: 259.3 kB / 0.5621 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005173/0.4804, allocations: 0.5498 MB / 0.5626 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.4807, allocations: 116.6 kB / 0.5627 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.4809, allocations: 209.5 kB / 0.5629 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.4812, allocations: 237.1 kB / 0.5631 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/0.4813, allocations: 27.78 kB / 0.5632 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.4815, allocations: 63.02 kB / 0.5632 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-05/0.4816, allocations: 89.66 kB / 0.5633 GB, free: 37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.171e-05/0.4817, allocations: 107 kB / 0.5634 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.4821, allocations: 0.5016 MB / 0.5639 GB, free: 36.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.4822, allocations: 0 / 0.5639 GB, free: 36.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4822, allocations: 7.469 kB / 0.5639 GB, free: 36.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.4822, allocations: 0 / 0.5639 GB, free: 36.9 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001196/0.4834, allocations: 0.7679 MB / 0.5647 GB, free: 36.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.4834, allocations: 8.531 kB / 0.5647 GB, free: 36.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008651/0.4843, allocations: 178.8 kB / 0.5648 GB, free: 36.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.4848, allocations: 374.3 kB / 0.5652 GB, free: 36.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.4849, allocations: 61.34 kB / 0.5653 GB, free: 36.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/0.485, allocations: 31.66 kB / 0.5653 GB, free: 36.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000746/0.4857, allocations: 398.4 kB / 0.5657 GB, free: 36.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4857, allocations: 0 / 0.5657 GB, free: 36.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.4858, allocations: 13.95 kB / 0.5657 GB, free: 36.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.4858, allocations: 12.86 kB / 0.5657 GB, free: 36.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006469/0.4864, allocations: 342.3 kB / 0.566 GB, free: 36.02 MB / 430.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.002436/0.4889, allocations: 1.883 MB / 0.5679 GB, free: 35.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009085/0.4898, allocations: 0.8423 MB / 0.5687 GB, free: 34.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.4902, allocations: 204.8 kB / 0.5689 GB, free: 34.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.593e-05/0.4903, allocations: 2.906 kB / 0.5689 GB, free: 34.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.4903, allocations: 32.34 kB / 0.5689 GB, free: 34.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.754e-06/0.4903, allocations: 4.719 kB / 0.5689 GB, free: 34.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004254/0.4946, allocations: 1.408 MB / 0.5703 GB, free: 34.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.4946, allocations: 58.38 kB / 0.5703 GB, free: 34.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.4951, allocations: 432 kB / 0.5708 GB, free: 34.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.4951, allocations: 29.64 kB / 0.5708 GB, free: 34.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.4952, allocations: 257.7 kB / 0.571 GB, free: 34.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/0.4953, allocations: 86.72 kB / 0.5711 GB, free: 34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.4953, allocations: 5.969 kB / 0.5711 GB, free: 34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.819e-05/0.4954, allocations: 357.3 kB / 0.5715 GB, free: 33.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.4958, allocations: 200.7 kB / 0.5717 GB, free: 33.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004042/0.4962, allocations: 246.5 kB / 0.5719 GB, free: 33.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.4966, allocations: 206.5 kB / 0.5721 GB, free: 33.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4967, allocations: 0 / 0.5721 GB, free: 33.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002298/0.499, allocations: 0.9422 MB / 0.573 GB, free: 33.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.499, allocations: 9.484 kB / 0.573 GB, free: 33.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.499, allocations: 3.031 kB / 0.573 GB, free: 33.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002204/0.5012, allocations: 0.6517 MB / 0.5737 GB, free: 33.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007642/0.502, allocations: 173 kB / 0.5738 GB, free: 33.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006101/0.5081, allocations: 3.161 MB / 0.5769 GB, free: 32.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.5086, allocations: 59.92 kB / 0.577 GB, free: 31.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.5086, allocations: 11.89 kB / 0.577 GB, free: 31.98 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" fixed = true ) "Shifting angle" type: Real phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" fixed = true ) "Measured power flow" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 29 * 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 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002438/0.5089, allocations: 166.7 kB / 0.5771 GB, free: 31.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-05/0.509, allocations: 45.92 kB / 0.5772 GB, free: 31.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.5112, allocations: 0.8725 MB / 0.578 GB, free: 31.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5112, allocations: 2.562 kB / 0.578 GB, free: 31.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.5112, allocations: 0 / 0.578 GB, free: 31.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.5112, allocations: 2.953 kB / 0.578 GB, free: 31.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/0.5141, allocations: 1.579 MB / 0.5796 GB, free: 30.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5141, allocations: 0.75 kB / 0.5796 GB, free: 30.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007852/0.5149, allocations: 155.2 kB / 0.5797 GB, free: 30.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002449/0.5173, allocations: 0.7337 MB / 0.5804 GB, free: 30.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.5174, allocations: 9.703 kB / 0.5804 GB, free: 30.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005723/0.5231, allocations: 3.131 MB / 0.5835 GB, free: 28.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5232, allocations: 0 / 0.5835 GB, free: 28.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/0.5259, allocations: 1.169 MB / 0.5846 GB, free: 28.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.5261, allocations: 130.1 kB / 0.5848 GB, free: 28.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.27e-05/0.5262, allocations: 10.41 kB / 0.5848 GB, free: 28.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.5265, allocations: 26.97 kB / 0.5848 GB, free: 28.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.5267, allocations: 60.34 kB / 0.5849 GB, free: 28.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.5267, allocations: 11.28 kB / 0.5849 GB, free: 28.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004018/0.5271, allocations: 302 kB / 0.5852 GB, free: 27.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5271, allocations: 5.156 kB / 0.5852 GB, free: 27.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006548/0.5278, allocations: 126.4 kB / 0.5853 GB, free: 27.94 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (phaseShiftingTransformer.phaseShifter.pmes,phaseShiftingTransformer.phaseShifter.alpha) * 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 (15): * Single equations (assignments): 14 * 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 {5 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000166/0.528, allocations: 109.6 kB / 0.5854 GB, free: 27.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002618/0.5306, allocations: 0.8061 MB / 0.5862 GB, free: 27.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5306, allocations: 0 / 0.5862 GB, free: 27.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002055/0.5327, allocations: 0.6137 MB / 0.5868 GB, free: 27.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.5332, allocations: 37.12 kB / 0.5868 GB, free: 27.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.5366, allocations: 1.207 MB / 0.588 GB, free: 26.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.5369, allocations: 0.8223 MB / 0.5888 GB, free: 25.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.537, allocations: 27 kB / 0.5888 GB, free: 25.92 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.537, allocations: 0 / 0.5888 GB, free: 25.92 MB / 430.1 MB Notification: Performance of Templates: time 0.01387/0.5509, allocations: 7.162 MB / 0.5958 GB, free: 25.43 MB / 430.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.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 OMCppOpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_TestCalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_TestCalcHelperMain.o] Error 1