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.001073/0.001073, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001082/0.001083, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.315/1.315, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07921/0.07921, allocations: 16.77 MB / 308 MB, free: 14.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 67.89 kB / 429.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08543/0.08665, allocations: 53.56 MB / 483 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.003035/0.08971, allocations: 1.939 MB / 484.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007494/0.09049, allocations: 366.5 kB / 485.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.09064, allocations: 8 kB / 485.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.0909, allocations: 63.59 kB / 485.3 MB, free: 456 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.09111, allocations: 39.72 kB / 485.4 MB, free: 416 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.09165, allocations: 235 kB / 485.6 MB, free: 180 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.09195, allocations: 155.6 kB / 485.7 MB, free: 24 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.09215, allocations: 94.38 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.951e-05/0.09221, allocations: 55.73 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.32e-05/0.09231, allocations: 71.58 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.09235, allocations: 19.98 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.09248, allocations: 63.92 kB / 486 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.735e-05/0.09252, allocations: 35.86 kB / 486.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.797e-05/0.09262, allocations: 75.55 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.09297, allocations: 239 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.09298, allocations: 0 / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.09299, allocations: 3.938 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.093, allocations: 3.938 kB / 486.4 MB, free: 15.37 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.0009887/0.094, allocations: 0.5375 MB / 486.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.09404, allocations: 8.031 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.09411, allocations: 24.8 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.0944, allocations: 237.9 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.872e-05/0.09443, allocations: 12.38 kB / 487.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.09447, allocations: 16.38 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.09475, allocations: 170.4 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.09477, allocations: 192 / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.09479, allocations: 11.94 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.09481, allocations: 4 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.09504, allocations: 127.9 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009701/0.09602, allocations: 0.6678 MB / 488.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.09617, allocations: 62.56 kB / 488.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.62e-05/0.09623, allocations: 32.92 kB / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.09626, allocations: 0 / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.09629, allocations: 34.55 kB / 488.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.0963, allocations: 0 / 488.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002763/0.09658, allocations: 137.5 kB / 488.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.09661, allocations: 51.41 kB / 488.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.09686, allocations: 253 kB / 488.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.09688, allocations: 29.7 kB / 488.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.09698, allocations: 136 kB / 488.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.097, allocations: 19.86 kB / 488.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.09705, allocations: 17.72 kB / 489 MB, free: 12.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.09717, allocations: 330.8 kB / 489.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.219e-05/0.09724, allocations: 47.81 kB / 489.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.518e-05/0.0973, allocations: 31.98 kB / 489.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.09742, allocations: 64.86 kB / 489.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.09743, allocations: 0 / 489.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001956/0.09763, allocations: 121.6 kB / 489.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.09765, allocations: 8 kB / 489.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.09766, allocations: 0 / 489.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.09768, allocations: 3.938 kB / 489.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.0978, allocations: 19.92 kB / 489.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.09781, allocations: 0 / 489.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.656e-05/0.09789, allocations: 19.84 kB / 489.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.09791, 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.73e-05/0.09801, allocations: 129.8 kB / 489.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.09806, allocations: 15.91 kB / 489.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.09811, allocations: 29.23 kB / 489.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.09811, allocations: 0 / 489.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.09812, allocations: 0 / 489.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.09818, allocations: 105 kB / 489.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.09821, allocations: 0 / 489.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.09831, allocations: 4 kB / 489.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.09834, allocations: 4 kB / 489.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002574/0.0986, allocations: 172.9 kB / 490 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003038/0.09891, allocations: 318.6 kB / 490.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.875e-05/0.09898, allocations: 24.41 kB / 490.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.09915, allocations: 192.5 kB / 490.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of Backend: time 6.51e-07/0.09915, allocations: 4.062 kB / 490.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004916/0.09965, allocations: 142.3 kB / 490.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of SimCode: time 0.0006927/0.1004, allocations: 0.7639 MB / 491.5 MB, free: 9.953 MB / 366.1 MB Notification: Performance of Templates: time 0.004816/0.1052, allocations: 2.026 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