Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_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_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.001603/0.001603, allocations: 110.1 kB / 16.42 MB, free: 6.445 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.001844/0.001844, allocations: 186.6 kB / 17.35 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0609/0.0609, allocations: 14.17 MB / 284.8 MB, free: 13.86 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 72.89 kB / 399.3 MB, free: 42.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06775/0.06918, allocations: 50.12 MB / 449.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.003063/0.07229, allocations: 2.124 MB / 451.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007923/0.0731, allocations: 459 kB / 452 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.917e-05/0.07321, allocations: 4 kB / 452 MB, free: 8.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.07351, allocations: 103.4 kB / 452.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.07374, allocations: 63.52 kB / 452.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005804/0.07433, allocations: 251.2 kB / 452.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.0747, allocations: 251.9 kB / 452.6 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.07492, allocations: 136.8 kB / 452.8 MB, free: 8.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.641e-05/0.07501, allocations: 87.53 kB / 452.9 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.07513, allocations: 111.4 kB / 453 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.07517, allocations: 24 kB / 453 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.07531, allocations: 67.98 kB / 453.1 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.266e-05/0.07537, allocations: 71.7 kB / 453.1 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.677e-05/0.07548, allocations: 127.2 kB / 453.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004521/0.07593, allocations: 386.7 kB / 453.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.07595, allocations: 0 / 453.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.07596, allocations: 0 / 453.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.07597, allocations: 0 / 453.6 MB, free: 7.305 MB / 334.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.001742/0.07772, allocations: 0.737 MB / 454.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.07777, allocations: 8.031 kB / 454.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.07784, allocations: 32.56 kB / 454.4 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.07801, allocations: 219.7 kB / 454.6 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.07804, allocations: 16.94 kB / 454.6 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.07809, allocations: 32.31 kB / 454.7 MB, free: 6.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005421/0.07863, allocations: 325.4 kB / 455 MB, free: 5.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.07865, allocations: 4.125 kB / 455 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.07869, allocations: 11.94 kB / 455 MB, free: 5.832 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.0787, allocations: 8 kB / 455 MB, free: 5.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005197/0.07923, allocations: 334.1 kB / 455.3 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.08073, allocations: 1.064 MB / 456.4 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.08104, allocations: 166.5 kB / 456.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.08121, allocations: 112.8 kB / 456.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.08124, allocations: 0 / 456.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.08126, allocations: 30.56 kB / 456.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.08127, allocations: 0 / 456.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.000598/0.08187, allocations: 349.1 kB / 457.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.08191, allocations: 67.28 kB / 457.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.08218, allocations: 286.9 kB / 457.4 MB, free: 3.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.08221, allocations: 29.7 kB / 457.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.08232, allocations: 164.2 kB / 457.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.08236, allocations: 51.28 kB / 457.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-05/0.08245, allocations: 37.69 kB / 457.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.08256, allocations: 334.8 kB / 458 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.08272, allocations: 91.98 kB / 458.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.08291, allocations: 119.5 kB / 458.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.08322, allocations: 205.6 kB / 458.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.08323, allocations: 3.938 kB / 458.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004076/0.08364, allocations: 269.4 kB / 458.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.08367, allocations: 11.98 kB / 458.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.08368, allocations: 0 / 458.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.0837, allocations: 0 / 458.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.08391, allocations: 35.92 kB / 458.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.08393, allocations: 7.938 kB / 458.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.08404, allocations: 19.69 kB / 458.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.08407, allocations: 12 kB / 458.8 MB, free: 1.945 MB / 334.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.0001422/0.08422, allocations: 149.8 kB / 458.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.08428, allocations: 19.72 kB / 458.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.448e-05/0.08436, allocations: 33.81 kB / 459 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.08437, allocations: 3.984 kB / 459 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.08438, allocations: 3.938 kB / 459 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.734e-05/0.08445, allocations: 100.8 kB / 459.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.08449, allocations: 8 kB / 459.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.08462, allocations: 3.984 kB / 459.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.08466, allocations: 15.92 kB / 459.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004553/0.08513, allocations: 316.9 kB / 459.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004491/0.08559, allocations: 426.5 kB / 459.8 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001563/0.08575, allocations: 111.9 kB / 459.9 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000171/0.08593, allocations: 209.9 kB / 460.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of Backend: time 4.51e-07/0.08594, allocations: 0 / 460.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005895/0.08653, allocations: 226.4 kB / 460.4 MB, free: 296 kB / 334.1 MB Notification: Performance of SimCode: time 0.0007711/0.08731, allocations: 0.8389 MB / 461.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of Templates: time 0.006481/0.09381, allocations: 3.582 MB / 464.8 MB, free: 11.82 MB / 350.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_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_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches