Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.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.TestExciterVoltageTransducerIEEE,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|exciterVoltageTransducerIEEE.It.im|exciterVoltageTransducerIEEE.It.re|exciterVoltageTransducerIEEE.J.k.im|exciterVoltageTransducerIEEE.J.k.re|exciterVoltageTransducerIEEE.J.useConjugateInput|exciterVoltageTransducerIEEE.Ve|exciterVoltageTransducerIEEE.Vt.im|exciterVoltageTransducerIEEE.Vt.re|exciterVoltageTransducerIEEE.add1.k1.im|exciterVoltageTransducerIEEE.add1.k1.re|exciterVoltageTransducerIEEE.add1.k2.im|exciterVoltageTransducerIEEE.add1.k2.re|exciterVoltageTransducerIEEE.add1.u2.im|exciterVoltageTransducerIEEE.add1.u2.re|exciterVoltageTransducerIEEE.add1.useConjugateInput1|exciterVoltageTransducerIEEE.add1.useConjugateInput2|exciterVoltageTransducerIEEE.add2.k1.im|exciterVoltageTransducerIEEE.add2.k1.re|exciterVoltageTransducerIEEE.add2.k2.im|exciterVoltageTransducerIEEE.add2.k2.re|exciterVoltageTransducerIEEE.add2.useConjugateInput1|exciterVoltageTransducerIEEE.add2.useConjugateInput2|exciterVoltageTransducerIEEE.complexKp.len|exciterVoltageTransducerIEEE.complexKp.phi|exciterVoltageTransducerIEEE.complexToPolar.useConjugateInput|exciterVoltageTransducerIEEE.constKi.k.im|exciterVoltageTransducerIEEE.constKi.k.re|exciterVoltageTransducerIEEE.constKi.y.im|exciterVoltageTransducerIEEE.constKi.y.re|exciterVoltageTransducerIEEE.constKp.k|exciterVoltageTransducerIEEE.constKp.y|exciterVoltageTransducerIEEE.constThetap.k|exciterVoltageTransducerIEEE.constThetap.y|exciterVoltageTransducerIEEE.gainXl.k.im|exciterVoltageTransducerIEEE.gainXl.k.re|exciterVoltageTransducerIEEE.gainXl.useConjugateInput|exciterVoltageTransducerIEEE.ki|exciterVoltageTransducerIEEE.kp|exciterVoltageTransducerIEEE.prod1.u2.im|exciterVoltageTransducerIEEE.prod1.u2.re|exciterVoltageTransducerIEEE.prod1.useConjugateInput1|exciterVoltageTransducerIEEE.prod1.useConjugateInput2|exciterVoltageTransducerIEEE.prod2.u1.im|exciterVoltageTransducerIEEE.prod2.u1.re|exciterVoltageTransducerIEEE.prod2.useConjugateInput1|exciterVoltageTransducerIEEE.prod2.useConjugateInput2|exciterVoltageTransducerIEEE.thetap|exciterVoltageTransducerIEEE.xl|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE,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|exciterVoltageTransducerIEEE.It.im|exciterVoltageTransducerIEEE.It.re|exciterVoltageTransducerIEEE.J.k.im|exciterVoltageTransducerIEEE.J.k.re|exciterVoltageTransducerIEEE.J.useConjugateInput|exciterVoltageTransducerIEEE.Ve|exciterVoltageTransducerIEEE.Vt.im|exciterVoltageTransducerIEEE.Vt.re|exciterVoltageTransducerIEEE.add1.k1.im|exciterVoltageTransducerIEEE.add1.k1.re|exciterVoltageTransducerIEEE.add1.k2.im|exciterVoltageTransducerIEEE.add1.k2.re|exciterVoltageTransducerIEEE.add1.u2.im|exciterVoltageTransducerIEEE.add1.u2.re|exciterVoltageTransducerIEEE.add1.useConjugateInput1|exciterVoltageTransducerIEEE.add1.useConjugateInput2|exciterVoltageTransducerIEEE.add2.k1.im|exciterVoltageTransducerIEEE.add2.k1.re|exciterVoltageTransducerIEEE.add2.k2.im|exciterVoltageTransducerIEEE.add2.k2.re|exciterVoltageTransducerIEEE.add2.useConjugateInput1|exciterVoltageTransducerIEEE.add2.useConjugateInput2|exciterVoltageTransducerIEEE.complexKp.len|exciterVoltageTransducerIEEE.complexKp.phi|exciterVoltageTransducerIEEE.complexToPolar.useConjugateInput|exciterVoltageTransducerIEEE.constKi.k.im|exciterVoltageTransducerIEEE.constKi.k.re|exciterVoltageTransducerIEEE.constKi.y.im|exciterVoltageTransducerIEEE.constKi.y.re|exciterVoltageTransducerIEEE.constKp.k|exciterVoltageTransducerIEEE.constKp.y|exciterVoltageTransducerIEEE.constThetap.k|exciterVoltageTransducerIEEE.constThetap.y|exciterVoltageTransducerIEEE.gainXl.k.im|exciterVoltageTransducerIEEE.gainXl.k.re|exciterVoltageTransducerIEEE.gainXl.useConjugateInput|exciterVoltageTransducerIEEE.ki|exciterVoltageTransducerIEEE.kp|exciterVoltageTransducerIEEE.prod1.u2.im|exciterVoltageTransducerIEEE.prod1.u2.re|exciterVoltageTransducerIEEE.prod1.useConjugateInput1|exciterVoltageTransducerIEEE.prod1.useConjugateInput2|exciterVoltageTransducerIEEE.prod2.u1.im|exciterVoltageTransducerIEEE.prod2.u1.re|exciterVoltageTransducerIEEE.prod2.useConjugateInput1|exciterVoltageTransducerIEEE.prod2.useConjugateInput2|exciterVoltageTransducerIEEE.thetap|exciterVoltageTransducerIEEE.xl|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001246/0.001246, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.295/1.295, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07759/0.07759, allocations: 16.77 MB / 308 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.001191, allocations: 59.91 kB / 429.4 MB, free: 8.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08238/0.08358, allocations: 53.57 MB / 483 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.003121/0.08674, allocations: 2.129 MB / 485.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008143/0.08758, allocations: 450.2 kB / 485.5 MB, free: 244 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.0877, allocations: 8 kB / 485.5 MB, free: 236 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.08801, allocations: 95.39 kB / 485.6 MB, free: 140 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.08827, allocations: 63.53 kB / 485.7 MB, free: 76 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.08883, allocations: 250.7 kB / 485.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000366/0.08921, allocations: 255.3 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.08943, allocations: 144.7 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.375e-05/0.08951, allocations: 79.61 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.08963, allocations: 115.3 kB / 486.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.08969, allocations: 28 kB / 486.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.08982, allocations: 75.98 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.08988, allocations: 59.77 kB / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.856e-05/0.08998, allocations: 127.3 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003927/0.09038, allocations: 382.7 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.0904, allocations: 0 / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.0904, allocations: 0 / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.09042, allocations: 7.938 kB / 487.2 MB, free: 14.57 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001771/0.09219, allocations: 0.7331 MB / 487.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.09224, allocations: 12.03 kB / 487.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.855e-05/0.09231, allocations: 32.56 kB / 488 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.09249, allocations: 215.6 kB / 488.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.09252, allocations: 20.94 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.09257, allocations: 28.38 kB / 488.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005215/0.0931, allocations: 321.4 kB / 488.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.09311, allocations: 192 / 488.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.09315, allocations: 19.92 kB / 488.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.09316, allocations: 8 kB / 488.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/0.09367, allocations: 330.1 kB / 488.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.09521, allocations: 1.072 MB / 489.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.09552, allocations: 170.5 kB / 490.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.0957, allocations: 104.8 kB / 490.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.09573, allocations: 8 kB / 490.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.09576, allocations: 30.56 kB / 490.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.09577, allocations: 0 / 490.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005973/0.09637, allocations: 349.5 kB / 490.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.0964, allocations: 59.28 kB / 490.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.09669, allocations: 283 kB / 490.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.09672, allocations: 29.7 kB / 491 MB, free: 10.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.09683, allocations: 172.1 kB / 491.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.09688, allocations: 51.3 kB / 491.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.49e-05/0.09696, allocations: 41.62 kB / 491.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.09708, allocations: 330.8 kB / 491.5 MB, free: 9.984 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.09725, allocations: 95.97 kB / 491.6 MB, free: 9.891 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.09742, allocations: 116.5 kB / 491.7 MB, free: 9.773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.09775, allocations: 209.6 kB / 492 MB, free: 9.562 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.09776, allocations: 0 / 492 MB, free: 9.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004394/0.09821, allocations: 277.2 kB / 492.2 MB, free: 9.285 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.09823, allocations: 4 kB / 492.2 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.09824, allocations: 4 kB / 492.2 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.09826, allocations: 0 / 492.2 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.09848, allocations: 35.91 kB / 492.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.0985, allocations: 11.92 kB / 492.3 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.09861, allocations: 15.75 kB / 492.3 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.09864, allocations: 8 kB / 492.3 MB, free: 9.207 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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 0.0001396/0.09879, allocations: 145.8 kB / 492.4 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.09884, allocations: 23.72 kB / 492.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.839e-05/0.09894, allocations: 37.86 kB / 492.5 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.09895, allocations: 3.984 kB / 492.5 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.09895, allocations: 3.938 kB / 492.5 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.09902, allocations: 96.83 kB / 492.6 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.09906, allocations: 4 kB / 492.6 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.09919, allocations: 4 kB / 492.6 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.09923, allocations: 7.984 kB / 492.6 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004587/0.0997, allocations: 320.9 kB / 492.9 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00043/0.1001, allocations: 437.1 kB / 493.4 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001606/0.1003, allocations: 104 kB / 493.5 MB, free: 7.992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.1005, allocations: 206 kB / 493.7 MB, free: 7.797 MB / 366.1 MB Notification: Performance of Backend: time 5.72e-07/0.1005, allocations: 0 / 493.7 MB, free: 7.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005962/0.1011, allocations: 238.3 kB / 493.9 MB, free: 7.559 MB / 366.1 MB Notification: Performance of SimCode: time 0.0007418/0.1019, allocations: 0.8234 MB / 494.7 MB, free: 6.684 MB / 366.1 MB Notification: Performance of Templates: time 0.006884/0.1088, allocations: 3.586 MB / 498.3 MB, free: 3.098 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches