Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusOneLoad.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.OneBusOneLoad,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_symb_jac_PowerGrids.Electrical.Test.OneBusOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusOneLoad,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_symb_jac_PowerGrids.Electrical.Test.OneBusOneLoad") 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: 123.8 kB / 17.1 MB, free: 5.938 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.001858/0.001858, allocations: 192.7 kB / 18.04 MB, free: 5.016 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.512/1.512, allocations: 205.1 MB / 223.9 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.06245/0.06245, allocations: 14.18 MB / 285.4 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.001489/0.001489, allocations: 68.19 kB / 397.9 MB, free: 43.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1123, allocations: 50.15 MB / 448 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.00645/0.1188, allocations: 4.151 MB / 452.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004479/0.1233, allocations: 2.466 MB / 454.6 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006274/0.1239, allocations: 8 kB / 454.6 MB, free: 7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009253/0.1249, allocations: 238.6 kB / 454.9 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002777/0.1277, allocations: 1.139 MB / 456 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000532/0.1283, allocations: 250.6 kB / 456.2 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.1294, allocations: 0.9339 MB / 457.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.1295, allocations: 61.06 kB / 457.2 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000376/0.1299, allocations: 334.8 kB / 457.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/0.1303, allocations: 306.8 kB / 457.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.1304, allocations: 35.94 kB / 457.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006245/0.131, allocations: 271.8 kB / 458.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.603e-05/0.1311, allocations: 79.61 kB / 458.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002651/0.1314, allocations: 266.7 kB / 458.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.1324, allocations: 0.7824 MB / 459.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1324, allocations: 4 kB / 459.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1324, allocations: 0 / 459.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1325, allocations: 0 / 459.3 MB, free: 2.316 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.002402/0.1349, allocations: 0.9777 MB / 460.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.1349, allocations: 8.031 kB / 460.3 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.1352, allocations: 76.59 kB / 460.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007437/0.136, allocations: 432.9 kB / 460.8 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.136, allocations: 29.38 kB / 460.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.1361, allocations: 35.94 kB / 460.8 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.1367, allocations: 364.9 kB / 461.2 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1367, allocations: 0 / 461.2 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.1367, allocations: 15.98 kB / 461.2 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.1368, allocations: 8 kB / 461.2 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.1372, allocations: 298.4 kB / 461.5 MB, free: 15.98 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.00286/0.1401, allocations: 2.492 MB / 464 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000883/0.141, allocations: 452.1 kB / 464.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.1412, allocations: 116.8 kB / 464.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.1412, allocations: 4 kB / 464.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.1413, allocations: 38.56 kB / 464.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.874e-06/0.1413, allocations: 0 / 464.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002133/0.1434, allocations: 0.7304 MB / 465.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.1435, allocations: 55.41 kB / 465.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.1439, allocations: 349.7 kB / 465.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.1439, allocations: 33.7 kB / 465.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.144, allocations: 200.6 kB / 466 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.1442, allocations: 130.8 kB / 466.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.326e-05/0.1443, allocations: 61.66 kB / 466.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1444, allocations: 346.8 kB / 466.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.1445, allocations: 85.06 kB / 466.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.1447, allocations: 132.2 kB / 466.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.1451, allocations: 251.9 kB / 466.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.1451, allocations: 7.938 kB / 466.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009609/0.146, allocations: 445.5 kB / 467.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1461, allocations: 7.938 kB / 467.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1461, allocations: 4 kB / 467.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007018/0.1468, allocations: 156.6 kB / 467.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.1471, allocations: 71.88 kB / 467.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/0.1502, allocations: 2.229 MB / 469.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.1505, allocations: 27.88 kB / 469.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.1506, allocations: 8 kB / 469.9 MB, free: 7.027 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 29 * 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 {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.1508, allocations: 169.7 kB / 470 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.1509, allocations: 39.77 kB / 470.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.1519, allocations: 462 kB / 470.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1519, allocations: 0 / 470.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1519, allocations: 0 / 470.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.1521, allocations: 148.8 kB / 470.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.1521, allocations: 8 kB / 470.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.1524, allocations: 11.95 kB / 470.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.1525, allocations: 35.94 kB / 470.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001033/0.1535, allocations: 473.3 kB / 471.2 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003101/0.1567, allocations: 2.406 MB / 473.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001564/0.1568, allocations: 99.95 kB / 473.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002672/0.1571, allocations: 243.2 kB / 473.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of Backend: time 6.51e-07/0.1571, allocations: 0 / 473.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.1587, allocations: 0.5382 MB / 474.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of SimCode: time 0.002132/0.1609, allocations: 1.774 MB / 476.2 MB, free: 392 kB / 350.1 MB Notification: Performance of Templates: time 0.01462/0.1755, allocations: 8.609 MB / 484.9 MB, free: 7.773 MB / 366.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusOneLoad.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusOneLoad.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusOneLoad.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusOneLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches