Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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 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.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_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_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.001516/0.001516, allocations: 115.9 kB / 16.42 MB, free: 6.473 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.001696/0.001696, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06312/0.06312, 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.001584/0.001584, allocations: 77.83 kB / 399.3 MB, free: 42.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0724/0.074, allocations: 50.12 MB / 449.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.003314/0.07736, allocations: 1.929 MB / 451.3 MB, free: 9.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007649/0.07815, allocations: 383.4 kB / 451.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.0783, allocations: 7.938 kB / 451.7 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.07857, allocations: 67.66 kB / 451.8 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.07877, allocations: 43.66 kB / 451.8 MB, free: 9.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.07931, allocations: 219.2 kB / 452.1 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.07963, allocations: 165 kB / 452.2 MB, free: 8.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.0798, allocations: 90.33 kB / 452.3 MB, free: 8.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.517e-05/0.07987, allocations: 59.73 kB / 452.4 MB, free: 8.715 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.07998, allocations: 67.58 kB / 452.4 MB, free: 8.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.08002, allocations: 16 kB / 452.4 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.08015, allocations: 63.97 kB / 452.5 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.227e-05/0.08019, allocations: 31.91 kB / 452.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.329e-05/0.08027, allocations: 91.42 kB / 452.6 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.0806, allocations: 231.2 kB / 452.9 MB, free: 8.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.08061, allocations: 0 / 452.9 MB, free: 8.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.08062, allocations: 0 / 452.9 MB, free: 8.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.08063, allocations: 0 / 452.9 MB, free: 8.223 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001106/0.08175, allocations: 0.5339 MB / 453.4 MB, free: 7.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.08179, allocations: 8.031 kB / 453.4 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.08185, allocations: 20.66 kB / 453.4 MB, free: 7.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.08216, allocations: 239.9 kB / 453.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.08219, allocations: 12.38 kB / 453.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.08223, allocations: 20.38 kB / 453.7 MB, free: 7.305 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.08252, allocations: 165.9 kB / 453.8 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.08254, allocations: 4.188 kB / 453.8 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.08257, allocations: 11.88 kB / 453.9 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.08258, allocations: 4 kB / 453.9 MB, free: 7.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.08281, allocations: 128 kB / 454 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009975/0.08381, allocations: 0.6599 MB / 454.6 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.08396, allocations: 62.56 kB / 454.7 MB, free: 6.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.08403, allocations: 32.97 kB / 454.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.08405, allocations: 0 / 454.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.08408, allocations: 42.56 kB / 454.8 MB, free: 6.125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.08409, allocations: 0 / 454.8 MB, free: 6.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002898/0.08439, allocations: 129.3 kB / 454.9 MB, free: 5.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.08442, allocations: 51.41 kB / 455 MB, free: 5.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.08468, allocations: 257 kB / 455.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.08471, allocations: 25.7 kB / 455.2 MB, free: 5.641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.0848, allocations: 139.9 kB / 455.4 MB, free: 5.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.08483, allocations: 19.73 kB / 455.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.08489, allocations: 25.72 kB / 455.4 MB, free: 5.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.08502, allocations: 326.8 kB / 455.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.731e-05/0.0851, allocations: 27.98 kB / 455.8 MB, free: 5.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.246e-05/0.08517, allocations: 32 kB / 455.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.0853, allocations: 68.84 kB / 455.9 MB, free: 4.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.08532, allocations: 0 / 455.9 MB, free: 4.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002045/0.08552, allocations: 125.4 kB / 456 MB, free: 4.863 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.08555, allocations: 4 kB / 456 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.08556, allocations: 0 / 456 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.08559, allocations: 11.94 kB / 456 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.08571, allocations: 12 kB / 456 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.08573, allocations: 0 / 456 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.483e-05/0.08582, allocations: 15.75 kB / 456 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.08583, allocations: 7.938 kB / 456 MB, free: 4.812 MB / 334.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 0.0001144/0.08595, allocations: 133.8 kB / 456.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.086, allocations: 19.75 kB / 456.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.08605, allocations: 21.25 kB / 456.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.08606, allocations: 4 kB / 456.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.08607, allocations: 3.984 kB / 456.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.591e-05/0.08614, allocations: 96.86 kB / 456.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.08618, allocations: 4 kB / 456.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.989e-05/0.08627, allocations: 4 kB / 456.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.0863, allocations: 3.984 kB / 456.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002664/0.08657, allocations: 165 kB / 456.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003248/0.08691, allocations: 322.8 kB / 456.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.065e-05/0.08698, allocations: 40.02 kB / 456.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.08716, allocations: 188.5 kB / 457 MB, free: 3.77 MB / 334.1 MB Notification: Performance of Backend: time 8.62e-07/0.08717, allocations: 3.938 kB / 457 MB, free: 3.766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005104/0.08768, allocations: 139.4 kB / 457.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008346/0.08853, allocations: 0.7411 MB / 457.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of Templates: time 0.005392/0.09393, allocations: 2.025 MB / 459.9 MB, free: 0.8125 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_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_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches