Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.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.OneBusImpedanceOneLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="infiniteBus.ERef|infiniteBus.PStart|infiniteBus.QStart|infiniteBus.R|infiniteBus.SNom|infiniteBus.UNom|infiniteBus.UPhaseStart|infiniteBus.URef|infiniteBus.UStart|infiniteBus.X|infiniteBus.Z.im|infiniteBus.Z.re|infiniteBus.i.im|infiniteBus.i.re|infiniteBus.localInit|infiniteBus.port.IBase|infiniteBus.port.IStart|infiniteBus.port.PStart|infiniteBus.port.QStart|infiniteBus.port.SBase|infiniteBus.port.SNom|infiniteBus.port.UBase|infiniteBus.port.UNom|infiniteBus.port.UPhaseStart|infiniteBus.port.UStart|infiniteBus.port.VBase|infiniteBus.port.VStart|infiniteBus.port.i.im|infiniteBus.port.i.re|infiniteBus.port.iStart.im|infiniteBus.port.iStart.re|infiniteBus.port.portVariablesPhases|infiniteBus.port.v.im|infiniteBus.port.v.re|infiniteBus.port.vStart.im|infiniteBus.port.vStart.re|infiniteBus.portVariablesPhases|infiniteBus.theta|infiniteBus.v.im|infiniteBus.v.re|loadPQ.PRef|loadPQ.PRefConst|loadPQ.PStart|loadPQ.QRef|loadPQ.QRefConst|loadPQ.QStart|loadPQ.SNom|loadPQ.UNom|loadPQ.UPhaseStart|loadPQ.URef|loadPQ.UStart|loadPQ.alpha|loadPQ.beta|loadPQ.localInit|loadPQ.port.IBase|loadPQ.port.IStart|loadPQ.port.PStart|loadPQ.port.QStart|loadPQ.port.SBase|loadPQ.port.SNom|loadPQ.port.UBase|loadPQ.port.UNom|loadPQ.port.UPhaseStart|loadPQ.port.UStart|loadPQ.port.VBase|loadPQ.port.VStart|loadPQ.port.i.im|loadPQ.port.i.re|loadPQ.port.iStart.im|loadPQ.port.iStart.re|loadPQ.port.portVariablesPhases|loadPQ.port.v.im|loadPQ.port.v.re|loadPQ.port.vStart.im|loadPQ.port.vStart.re|loadPQ.portVariablesPhases|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="infiniteBus.ERef|infiniteBus.PStart|infiniteBus.QStart|infiniteBus.R|infiniteBus.SNom|infiniteBus.UNom|infiniteBus.UPhaseStart|infiniteBus.URef|infiniteBus.UStart|infiniteBus.X|infiniteBus.Z.im|infiniteBus.Z.re|infiniteBus.i.im|infiniteBus.i.re|infiniteBus.localInit|infiniteBus.port.IBase|infiniteBus.port.IStart|infiniteBus.port.PStart|infiniteBus.port.QStart|infiniteBus.port.SBase|infiniteBus.port.SNom|infiniteBus.port.UBase|infiniteBus.port.UNom|infiniteBus.port.UPhaseStart|infiniteBus.port.UStart|infiniteBus.port.VBase|infiniteBus.port.VStart|infiniteBus.port.i.im|infiniteBus.port.i.re|infiniteBus.port.iStart.im|infiniteBus.port.iStart.re|infiniteBus.port.portVariablesPhases|infiniteBus.port.v.im|infiniteBus.port.v.re|infiniteBus.port.vStart.im|infiniteBus.port.vStart.re|infiniteBus.portVariablesPhases|infiniteBus.theta|infiniteBus.v.im|infiniteBus.v.re|loadPQ.PRef|loadPQ.PRefConst|loadPQ.PStart|loadPQ.QRef|loadPQ.QRefConst|loadPQ.QStart|loadPQ.SNom|loadPQ.UNom|loadPQ.UPhaseStart|loadPQ.URef|loadPQ.UStart|loadPQ.alpha|loadPQ.beta|loadPQ.localInit|loadPQ.port.IBase|loadPQ.port.IStart|loadPQ.port.PStart|loadPQ.port.QStart|loadPQ.port.SBase|loadPQ.port.SNom|loadPQ.port.UBase|loadPQ.port.UNom|loadPQ.port.UPhaseStart|loadPQ.port.UStart|loadPQ.port.VBase|loadPQ.port.VStart|loadPQ.port.i.im|loadPQ.port.i.re|loadPQ.port.iStart.im|loadPQ.port.iStart.re|loadPQ.port.portVariablesPhases|loadPQ.port.v.im|loadPQ.port.v.re|loadPQ.port.vStart.im|loadPQ.port.vStart.re|loadPQ.portVariablesPhases|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 108.5 kB / 16.41 MB, free: 6.387 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.001584/0.001584, allocations: 187.9 kB / 17.34 MB, free: 5.84 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.293/1.293, allocations: 205.1 MB / 223.2 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.06509/0.06509, allocations: 14.17 MB / 284.7 MB, free: 13.87 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.001606/0.001606, allocations: 68.22 kB / 397.2 MB, free: 43.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06835/0.06997, allocations: 50.13 MB / 447.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.004774/0.07478, allocations: 4.179 MB / 451.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003177/0.07798, allocations: 2.454 MB / 453.9 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.0782, allocations: 11.94 kB / 454 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.0788, allocations: 242.7 kB / 454.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.081, allocations: 1.139 MB / 455.3 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.08145, allocations: 246.6 kB / 455.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009146/0.08237, allocations: 0.93 MB / 456.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.08252, allocations: 65.06 kB / 456.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003511/0.08287, allocations: 334.8 kB / 456.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003697/0.08325, allocations: 318.7 kB / 457.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.08331, allocations: 32 kB / 457.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000523/0.08384, allocations: 267.8 kB / 457.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.08393, allocations: 79.62 kB / 457.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.08418, allocations: 274.7 kB / 457.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008882/0.08508, allocations: 0.798 MB / 458.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.08509, allocations: 0 / 458.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.0851, allocations: 0 / 458.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.08512, allocations: 3.938 kB / 458.6 MB, free: 2.266 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.002344/0.08747, allocations: 0.9776 MB / 459.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.08752, allocations: 8.031 kB / 459.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003132/0.08785, allocations: 80.58 kB / 459.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006835/0.08854, allocations: 429 kB / 460.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.08858, allocations: 25.38 kB / 460.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.681e-05/0.08863, allocations: 35.94 kB / 460.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.08914, allocations: 346.4 kB / 460.5 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.08916, allocations: 4 kB / 460.5 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.08919, allocations: 12 kB / 460.5 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.08921, allocations: 8 kB / 460.6 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004879/0.0897, allocations: 314.4 kB / 460.9 MB, free: 15.95 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.09235, allocations: 2.331 MB / 463.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009137/0.09327, allocations: 0.5377 MB / 463.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.09347, allocations: 120.8 kB / 463.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.09352, allocations: 4.625 kB / 463.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.09354, allocations: 42.56 kB / 463.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.733e-06/0.09355, allocations: 0 / 463.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.002106/0.09566, allocations: 0.7443 MB / 464.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.09571, allocations: 55.41 kB / 464.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.09606, allocations: 332.5 kB / 465 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.0961, allocations: 29.7 kB / 465 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.09622, allocations: 200.6 kB / 465.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.09633, allocations: 135.9 kB / 465.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-05/0.09643, allocations: 61.98 kB / 465.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.09655, allocations: 346.8 kB / 465.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.09671, allocations: 88.62 kB / 465.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.09688, allocations: 130.8 kB / 466 MB, free: 10.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.09722, allocations: 230 kB / 466.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.09723, allocations: 0 / 466.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009326/0.09817, allocations: 453.7 kB / 466.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.09819, allocations: 8.031 kB / 466.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.0982, allocations: 0 / 466.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007103/0.09892, allocations: 164.6 kB / 466.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.09921, allocations: 67.95 kB / 466.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002876/0.1021, allocations: 2.258 MB / 469.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.1024, allocations: 23.89 kB / 469.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.1024, allocations: 11.98 kB / 469.2 MB, free: 7.039 MB / 350.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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.1026, allocations: 165.7 kB / 469.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.1027, allocations: 35.77 kB / 469.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.1037, allocations: 466.9 kB / 469.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1037, allocations: 3.938 kB / 469.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1037, allocations: 0 / 469.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.1039, allocations: 148.8 kB / 470 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/0.104, allocations: 19.98 kB / 470 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.1043, allocations: 11.95 kB / 470 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.1043, allocations: 27.89 kB / 470 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001044/0.1054, allocations: 497.3 kB / 470.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006182/0.106, allocations: 0.5742 MB / 471.1 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000156/0.1062, allocations: 103.9 kB / 471.2 MB, free: 4.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002301/0.1064, allocations: 239 kB / 471.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of Backend: time 4.1e-07/0.1064, allocations: 0 / 471.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.1077, allocations: 0.5794 MB / 472 MB, free: 4.125 MB / 350.1 MB Notification: Performance of SimCode: time 0.001235/0.109, allocations: 1.223 MB / 473.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of Templates: time 0.01269/0.1217, allocations: 7.903 MB / 481.1 MB, free: 10.96 MB / 366.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches