Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_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_symb_jac_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.001063/0.001063, allocations: 117.3 kB / 17.1 MB, free: 5.977 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.001059/0.001059, allocations: 192.8 kB / 18.03 MB, free: 5.062 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.333/1.333, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06377/0.06377, allocations: 14.17 MB / 285.4 MB, free: 13.88 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.001566/0.001566, allocations: 65.06 kB / 400 MB, free: 42.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07771/0.07929, allocations: 50.13 MB / 450.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.003252/0.08257, allocations: 2.119 MB / 452.2 MB, free: 9.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008481/0.08344, allocations: 455 kB / 452.7 MB, free: 8.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.08358, allocations: 8 kB / 452.7 MB, free: 8.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.0839, allocations: 99.39 kB / 452.8 MB, free: 8.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.08412, allocations: 63.53 kB / 452.8 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006757/0.08481, allocations: 243.2 kB / 453.1 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004827/0.0853, allocations: 256.7 kB / 453.3 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.08556, allocations: 128.8 kB / 453.4 MB, free: 8.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.08568, allocations: 95.52 kB / 453.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.08582, allocations: 115.3 kB / 453.7 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.341e-05/0.08587, allocations: 28 kB / 453.7 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.08603, allocations: 67.98 kB / 453.7 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.08609, allocations: 55.78 kB / 453.8 MB, free: 7.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.0862, allocations: 135.2 kB / 453.9 MB, free: 7.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.08662, allocations: 378.8 kB / 454.3 MB, free: 7.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.08663, allocations: 0 / 454.3 MB, free: 7.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.08664, allocations: 3.938 kB / 454.3 MB, free: 7.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.08666, allocations: 7.938 kB / 454.3 MB, free: 7.309 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.001872/0.08854, allocations: 0.737 MB / 455.1 MB, free: 6.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.08859, allocations: 8.031 kB / 455.1 MB, free: 6.512 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.661e-05/0.08867, allocations: 32.56 kB / 455.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.08887, allocations: 215.8 kB / 455.3 MB, free: 6.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.08892, allocations: 20.94 kB / 455.3 MB, free: 6.207 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.08897, allocations: 28.38 kB / 455.3 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000579/0.08955, allocations: 329.3 kB / 455.7 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.08957, allocations: 192 / 455.7 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.08961, allocations: 15.94 kB / 455.7 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.08963, allocations: 4 kB / 455.7 MB, free: 5.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005468/0.09018, allocations: 342.1 kB / 456 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.09187, allocations: 1.06 MB / 457.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.09222, allocations: 166.5 kB / 457.2 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.0924, allocations: 108.8 kB / 457.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.09243, allocations: 4 kB / 457.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.09247, allocations: 34.56 kB / 457.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.894e-06/0.09247, allocations: 3.938 kB / 457.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006457/0.09312, allocations: 349.6 kB / 457.7 MB, free: 3.707 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.09316, allocations: 55.34 kB / 457.8 MB, free: 3.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.09346, allocations: 282.9 kB / 458.1 MB, free: 3.359 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.0935, allocations: 29.7 kB / 458.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.09361, allocations: 168.2 kB / 458.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.09366, allocations: 51.3 kB / 458.3 MB, free: 3.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-05/0.09375, allocations: 37.7 kB / 458.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.09388, allocations: 330.8 kB / 458.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.09405, allocations: 99.97 kB / 458.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.09423, allocations: 108.1 kB / 458.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.09456, allocations: 221.6 kB / 459.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.09457, allocations: 0 / 459.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004378/0.09502, allocations: 273.3 kB / 459.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.09504, allocations: 4 kB / 459.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.09505, allocations: 0 / 459.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.09507, allocations: 4 kB / 459.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.09529, allocations: 31.97 kB / 459.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.09531, allocations: 3.938 kB / 459.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.09544, allocations: 19.69 kB / 459.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.09546, allocations: 8 kB / 459.4 MB, free: 1.957 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.000143/0.09561, allocations: 149.7 kB / 459.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.09567, allocations: 27.72 kB / 459.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.417e-05/0.09576, allocations: 29.86 kB / 459.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.09577, allocations: 7.875 kB / 459.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.09578, allocations: 7.938 kB / 459.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.919e-05/0.09586, allocations: 104.8 kB / 459.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.0959, allocations: 0 / 459.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.09603, allocations: 8 kB / 459.8 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.09608, allocations: 7.984 kB / 459.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005062/0.09659, allocations: 328.7 kB / 460.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001066/0.09767, allocations: 1.478 MB / 461.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001686/0.09785, allocations: 112 kB / 461.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.09805, allocations: 202 kB / 461.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of Backend: time 4.51e-07/0.09806, allocations: 4 kB / 461.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006501/0.09872, allocations: 223.3 kB / 462.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of SimCode: time 0.001033/0.09976, allocations: 1.145 MB / 463.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of Templates: time 0.007309/0.1071, allocations: 3.594 MB / 466.8 MB, free: 10.38 MB / 350.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches