Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.008032/0.008031, allocations: 100.2 kB / 15.87 MB, free: 5.867 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.432/1.432, allocations: 222.9 MB / 239.5 MB, free: 4.84 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.001816/0.001816, allocations: 184.5 kB / 289.8 MB, free: 2.578 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5752/0.5752, allocations: 78.52 MB / 418.4 MB, free: 3.391 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 75.89 kB / 497.4 MB, free: 6.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1695, allocations: 68.17 MB / 0.5523 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.3144/0.4839, allocations: 3.613 MB / 0.5558 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.486, allocations: 1.073 MB / 0.5569 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.4862, allocations: 4.344 kB / 0.5569 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.4866, allocations: 89.06 kB / 0.557 GB, free: 37.41 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation phaseShiftingTransformer.twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.487, allocations: 137.4 kB / 0.5571 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005946/0.4876, allocations: 314.8 kB / 0.5574 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005002/0.4881, allocations: 0.5715 MB / 0.558 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.4883, allocations: 122.1 kB / 0.5581 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.4886, allocations: 226.4 kB / 0.5583 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.4889, allocations: 254.7 kB / 0.5585 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.931e-05/0.4889, allocations: 30.66 kB / 0.5586 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.4891, allocations: 81.66 kB / 0.5587 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.435e-05/0.4892, allocations: 100.5 kB / 0.5587 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.4894, allocations: 244.3 kB / 0.559 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004696/0.4899, allocations: 0.5121 MB / 0.5595 GB, free: 37.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4899, allocations: 3.172 kB / 0.5595 GB, free: 37.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4899, allocations: 0 / 0.5595 GB, free: 37.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.4899, allocations: 1.531 kB / 0.5595 GB, free: 37.03 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.00134/0.4913, allocations: 0.8333 MB / 0.5603 GB, free: 36.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.4913, allocations: 15.3 kB / 0.5603 GB, free: 36.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009589/0.4923, allocations: 168.6 kB / 0.5605 GB, free: 36.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.4927, allocations: 397.5 kB / 0.5609 GB, free: 36.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.4929, allocations: 63.33 kB / 0.5609 GB, free: 36.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-05/0.4929, allocations: 31.89 kB / 0.5609 GB, free: 36.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007496/0.4937, allocations: 387.5 kB / 0.5613 GB, free: 36.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.4937, allocations: 0 / 0.5613 GB, free: 36.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.4938, allocations: 10.5 kB / 0.5613 GB, free: 36.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.4938, allocations: 8.812 kB / 0.5613 GB, free: 36.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006458/0.4944, allocations: 329.6 kB / 0.5616 GB, free: 36.11 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.00248/0.4969, allocations: 1.867 MB / 0.5635 GB, free: 35.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009168/0.4978, allocations: 0.8157 MB / 0.5643 GB, free: 34.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004084/0.4983, allocations: 186.4 kB / 0.5644 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.4983, allocations: 5.734 kB / 0.5644 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.4983, allocations: 37.34 kB / 0.5645 GB, free: 34.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.283e-06/0.4983, allocations: 4.5 kB / 0.5645 GB, free: 34.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004348/0.5027, allocations: 1.241 MB / 0.5657 GB, free: 34.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.5027, allocations: 55.06 kB / 0.5658 GB, free: 34.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.5032, allocations: 431.9 kB / 0.5662 GB, free: 34.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.5032, allocations: 31.91 kB / 0.5662 GB, free: 34.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.5034, allocations: 252.5 kB / 0.5664 GB, free: 34.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.781e-05/0.5034, allocations: 95.52 kB / 0.5665 GB, free: 34.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.5036, allocations: 66.33 kB / 0.5666 GB, free: 34.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.971e-05/0.5037, allocations: 353.9 kB / 0.5669 GB, free: 33.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.504, allocations: 184.6 kB / 0.5671 GB, free: 33.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.5044, allocations: 230.2 kB / 0.5673 GB, free: 33.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004388/0.5088, allocations: 1.295 MB / 0.5686 GB, free: 33.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5089, allocations: 0 / 0.5686 GB, free: 33.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002119/0.511, allocations: 0.8416 MB / 0.5694 GB, free: 33.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.511, allocations: 3.75 kB / 0.5694 GB, free: 33.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.511, allocations: 10.48 kB / 0.5694 GB, free: 33.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002063/0.5131, allocations: 0.5612 MB / 0.57 GB, free: 33.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008103/0.5139, allocations: 145.5 kB / 0.5701 GB, free: 33.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006131/0.5201, allocations: 2.983 MB / 0.573 GB, free: 32.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/0.5205, allocations: 46.38 kB / 0.5731 GB, free: 32.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.5205, allocations: 15.88 kB / 0.5731 GB, free: 32.23 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" fixed = true ) "Measured power flow" type: Real phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" fixed = true ) "Shifting angle" 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002362/0.5208, allocations: 172.8 kB / 0.5732 GB, free: 32.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-05/0.5208, allocations: 44.56 kB / 0.5733 GB, free: 32.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.523, allocations: 0.7684 MB / 0.574 GB, free: 32.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5231, allocations: 6.438 kB / 0.574 GB, free: 32.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.5231, allocations: 0 / 0.574 GB, free: 32.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5231, allocations: 3.141 kB / 0.574 GB, free: 32.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.5258, allocations: 1.473 MB / 0.5755 GB, free: 31.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5259, allocations: 0 / 0.5755 GB, free: 31.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000877/0.5267, allocations: 126.9 kB / 0.5756 GB, free: 31.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002479/0.5292, allocations: 0.6315 MB / 0.5762 GB, free: 31.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.5293, allocations: 14.17 kB / 0.5762 GB, free: 31.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005732/0.535, allocations: 2.944 MB / 0.5791 GB, free: 30.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.535, allocations: 0.6875 kB / 0.5791 GB, free: 30.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/0.5377, allocations: 1.048 MB / 0.5801 GB, free: 29.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.5379, allocations: 123.1 kB / 0.5803 GB, free: 29.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.5379, allocations: 10.03 kB / 0.5803 GB, free: 29.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.5383, allocations: 24.02 kB / 0.5803 GB, free: 29.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/0.5385, allocations: 59.77 kB / 0.5803 GB, free: 29.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.5385, allocations: 13.8 kB / 0.5804 GB, free: 29.49 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003589/0.5389, allocations: 304.4 kB / 0.5806 GB, free: 29.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5389, allocations: 0 / 0.5806 GB, free: 29.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006176/0.5395, allocations: 133.9 kB / 0.5808 GB, free: 29.31 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002163/0.5397, allocations: 107.5 kB / 0.5809 GB, free: 29.22 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00289/0.5426, allocations: 0.7536 MB / 0.5816 GB, free: 28.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5427, allocations: 0 / 0.5816 GB, free: 28.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002458/0.5451, allocations: 0.5574 MB / 0.5822 GB, free: 28.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.5456, allocations: 36.91 kB / 0.5822 GB, free: 28.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/0.5495, allocations: 1.197 MB / 0.5834 GB, free: 27.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.5498, allocations: 0.8181 MB / 0.5842 GB, free: 27.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.5499, allocations: 31.78 kB / 0.5842 GB, free: 27.28 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5499, allocations: 0.5625 kB / 0.5842 GB, free: 27.28 MB / 430.1 MB Notification: Performance of Templates: time 0.01167/0.5616, allocations: 7.192 MB / 0.5912 GB, free: 26.74 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_TestCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_TestCalcHelperMain.o] Error 1