Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.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.TestTerminalVoltageTransducerIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="I.k.im|I.k.re|I.y.im|I.y.re|V.k.im|V.k.re|V.y.im|V.y.re|terminalVoltageTransducer.It.im|terminalVoltageTransducer.It.re|terminalVoltageTransducer.Rc|terminalVoltageTransducer.Tr|terminalVoltageTransducer.Vc|terminalVoltageTransducer.Vt.im|terminalVoltageTransducer.Vt.re|terminalVoltageTransducer.Xc|terminalVoltageTransducer.add1.k1.im|terminalVoltageTransducer.add1.k1.re|terminalVoltageTransducer.add1.k2.im|terminalVoltageTransducer.add1.k2.re|terminalVoltageTransducer.add1.u1.im|terminalVoltageTransducer.add1.u1.re|terminalVoltageTransducer.add1.useConjugateInput1|terminalVoltageTransducer.add1.useConjugateInput2|terminalVoltageTransducer.complexToPolar.useConjugateInput|terminalVoltageTransducer.constRc.k|terminalVoltageTransducer.constRc.y|terminalVoltageTransducer.constXc.k|terminalVoltageTransducer.constXc.y|terminalVoltageTransducer.constZc.im|terminalVoltageTransducer.constZc.re|terminalVoltageTransducer.constZc.y.im|terminalVoltageTransducer.constZc.y.re|terminalVoltageTransducer.firstOrder.T|terminalVoltageTransducer.firstOrder.initType|terminalVoltageTransducer.firstOrder.k|terminalVoltageTransducer.firstOrder.y|terminalVoltageTransducer.firstOrder.y_start|terminalVoltageTransducer.initType|terminalVoltageTransducer.prod1.u1.im|terminalVoltageTransducer.prod1.u1.re|terminalVoltageTransducer.prod1.u2.im|terminalVoltageTransducer.prod1.u2.re|terminalVoltageTransducer.prod1.useConjugateInput1|terminalVoltageTransducer.prod1.useConjugateInput2|terminalVoltageTransducer.yStart|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE") translateModel(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="I.k.im|I.k.re|I.y.im|I.y.re|V.k.im|V.k.re|V.y.im|V.y.re|terminalVoltageTransducer.It.im|terminalVoltageTransducer.It.re|terminalVoltageTransducer.Rc|terminalVoltageTransducer.Tr|terminalVoltageTransducer.Vc|terminalVoltageTransducer.Vt.im|terminalVoltageTransducer.Vt.re|terminalVoltageTransducer.Xc|terminalVoltageTransducer.add1.k1.im|terminalVoltageTransducer.add1.k1.re|terminalVoltageTransducer.add1.k2.im|terminalVoltageTransducer.add1.k2.re|terminalVoltageTransducer.add1.u1.im|terminalVoltageTransducer.add1.u1.re|terminalVoltageTransducer.add1.useConjugateInput1|terminalVoltageTransducer.add1.useConjugateInput2|terminalVoltageTransducer.complexToPolar.useConjugateInput|terminalVoltageTransducer.constRc.k|terminalVoltageTransducer.constRc.y|terminalVoltageTransducer.constXc.k|terminalVoltageTransducer.constXc.y|terminalVoltageTransducer.constZc.im|terminalVoltageTransducer.constZc.re|terminalVoltageTransducer.constZc.y.im|terminalVoltageTransducer.constZc.y.re|terminalVoltageTransducer.firstOrder.T|terminalVoltageTransducer.firstOrder.initType|terminalVoltageTransducer.firstOrder.k|terminalVoltageTransducer.firstOrder.y|terminalVoltageTransducer.firstOrder.y_start|terminalVoltageTransducer.initType|terminalVoltageTransducer.prod1.u1.im|terminalVoltageTransducer.prod1.u1.re|terminalVoltageTransducer.prod1.u2.im|terminalVoltageTransducer.prod1.u2.re|terminalVoltageTransducer.prod1.useConjugateInput1|terminalVoltageTransducer.prod1.useConjugateInput2|terminalVoltageTransducer.yStart|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 111.5 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.323/1.323, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07776/0.07776, allocations: 16.78 MB / 308 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 429.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09682, allocations: 53.57 MB / 483 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.002753/0.0996, allocations: 1.929 MB / 484.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006214/0.1002, allocations: 378.5 kB / 485.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.739e-05/0.1003, allocations: 4 kB / 485.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.1006, allocations: 63.59 kB / 485.3 MB, free: 448 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.1007, allocations: 43.72 kB / 485.4 MB, free: 404 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.1012, allocations: 219.1 kB / 485.6 MB, free: 184 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.1014, allocations: 159.6 kB / 485.7 MB, free: 24 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.1016, allocations: 94.39 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.876e-05/0.1017, allocations: 51.73 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.399e-05/0.1018, allocations: 75.58 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.1018, allocations: 16 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.767e-05/0.1019, allocations: 55.92 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.602e-05/0.1019, allocations: 43.83 kB / 486.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.009e-05/0.102, allocations: 79.55 kB / 486.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.1023, allocations: 235.1 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1023, allocations: 7.938 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1023, allocations: 0 / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1023, allocations: 0 / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008988/0.1032, allocations: 0.5453 MB / 486.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1033, allocations: 8.031 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.1033, allocations: 24.8 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1036, allocations: 228.1 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1036, allocations: 16.38 kB / 487.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.1036, allocations: 12.38 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.1039, allocations: 170.4 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1039, allocations: 4.125 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.1039, allocations: 11.94 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.104, allocations: 4 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.1042, allocations: 131.9 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008825/0.1051, allocations: 0.6755 MB / 488.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1052, allocations: 58.58 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.1053, allocations: 40.91 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.1053, allocations: 0 / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.1053, allocations: 30.56 kB / 488.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1053, allocations: 0 / 488.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002542/0.1056, allocations: 121.5 kB / 488.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.1056, allocations: 55.41 kB / 488.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.1059, allocations: 253 kB / 488.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1059, allocations: 33.7 kB / 488.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.106, allocations: 140 kB / 488.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.106, allocations: 15.86 kB / 488.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.106, allocations: 25.7 kB / 489 MB, free: 12.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1062, allocations: 330.8 kB / 489.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.1062, allocations: 35.92 kB / 489.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.884e-05/0.1063, allocations: 28 kB / 489.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.1064, allocations: 72.84 kB / 489.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1064, allocations: 0 / 489.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001772/0.1066, allocations: 117.6 kB / 489.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1066, allocations: 14.48 kB / 489.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.1066, allocations: 0 / 489.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1067, allocations: 3.938 kB / 489.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1068, allocations: 11.94 kB / 489.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1068, allocations: 4 kB / 489.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.285e-05/0.1069, allocations: 15.84 kB / 489.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.1069, allocations: 0 / 489.6 MB, free: 11.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.05e-05/0.107, allocations: 129.8 kB / 489.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.107, allocations: 19.91 kB / 489.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.1071, allocations: 29.23 kB / 489.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1071, allocations: 0 / 489.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1071, allocations: 0 / 489.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.1071, allocations: 105 kB / 489.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.1072, allocations: 0 / 489.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.1072, allocations: 0 / 489.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.1073, allocations: 7.984 kB / 489.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002431/0.1075, allocations: 181.1 kB / 490 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002738/0.1078, allocations: 314.6 kB / 490.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.502e-05/0.1079, allocations: 32.02 kB / 490.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.108, allocations: 192.4 kB / 490.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of Backend: time 3.01e-07/0.108, allocations: 0 / 490.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004397/0.1085, allocations: 142.6 kB / 490.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of SimCode: time 0.0006572/0.1091, allocations: 0.76 MB / 491.5 MB, free: 9.949 MB / 366.1 MB Notification: Performance of Templates: time 0.004361/0.1135, allocations: 2.022 MB / 493.5 MB, free: 7.93 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches