Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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_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_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.00155/0.001551, allocations: 112.9 kB / 16.42 MB, free: 6.512 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.001395/0.001395, allocations: 186.5 kB / 17.35 MB, free: 5.754 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.384/1.384, 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.0612/0.0612, allocations: 14.17 MB / 284.8 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.001467/0.001467, allocations: 66.16 kB / 397.2 MB, free: 43.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.095/0.09647, allocations: 50.13 MB / 447.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.005368/0.1019, allocations: 4.167 MB / 451.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003744/0.1057, allocations: 2.458 MB / 453.9 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.1059, allocations: 4 kB / 453.9 MB, free: 7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006534/0.1066, allocations: 246.6 kB / 454.2 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002415/0.109, allocations: 1.139 MB / 455.3 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.1095, allocations: 239.1 kB / 455.6 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.1106, allocations: 0.9262 MB / 456.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.1108, allocations: 68.97 kB / 456.6 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.1112, allocations: 334.8 kB / 456.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.1116, allocations: 306.8 kB / 457.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.275e-05/0.1116, allocations: 32 kB / 457.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005377/0.1122, allocations: 275.7 kB / 457.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.327e-05/0.1123, allocations: 71.64 kB / 457.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.1125, allocations: 274.7 kB / 457.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009733/0.1135, allocations: 0.7863 MB / 458.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1135, allocations: 0 / 458.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1135, allocations: 4 kB / 458.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1135, allocations: 0 / 458.6 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.002421/0.116, allocations: 0.9738 MB / 459.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.116, allocations: 8.031 kB / 459.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/0.1163, allocations: 80.58 kB / 459.7 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000712/0.117, allocations: 429 kB / 460.1 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/0.1171, allocations: 25.38 kB / 460.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.1172, allocations: 35.88 kB / 460.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/0.1177, allocations: 364.9 kB / 460.5 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1177, allocations: 4 kB / 460.5 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.1177, allocations: 16 kB / 460.5 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.1178, allocations: 8 kB / 460.5 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004625/0.1182, allocations: 294.5 kB / 460.8 MB, free: 15.99 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.002702/0.1209, allocations: 2.496 MB / 463.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008913/0.1218, allocations: 456.1 kB / 463.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.122, allocations: 116.8 kB / 463.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.419e-05/0.1221, allocations: 8 kB / 463.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.1221, allocations: 30.56 kB / 463.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.724e-06/0.1221, allocations: 0 / 463.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002093/0.1242, allocations: 0.7343 MB / 464.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.1243, allocations: 55.41 kB / 464.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.1246, allocations: 345.7 kB / 465 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.1247, allocations: 33.7 kB / 465.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.1248, allocations: 208.5 kB / 465.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.343e-05/0.1249, allocations: 126.9 kB / 465.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.383e-05/0.125, allocations: 61.66 kB / 465.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1252, allocations: 342.8 kB / 465.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.1253, allocations: 89.06 kB / 465.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.1255, allocations: 136.2 kB / 466 MB, free: 10.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.1258, allocations: 243.9 kB / 466.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.1258, allocations: 3.938 kB / 466.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009383/0.1268, allocations: 449.4 kB / 466.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1268, allocations: 12.12 kB / 466.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1268, allocations: 0 / 466.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006798/0.1275, allocations: 156.6 kB / 466.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.1278, allocations: 75.89 kB / 466.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/0.1306, allocations: 2.235 MB / 469.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.1309, allocations: 23.89 kB / 469.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.1309, allocations: 12 kB / 469.2 MB, free: 7.023 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.0001844/0.1311, allocations: 173.6 kB / 469.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/0.1312, allocations: 43.77 kB / 469.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009318/0.1322, allocations: 450 kB / 469.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.1322, allocations: 3.984 kB / 469.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1322, allocations: 4 kB / 469.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.1323, allocations: 156.8 kB / 470 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.1324, allocations: 4 kB / 470 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.1327, allocations: 11.95 kB / 470 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.1327, allocations: 27.95 kB / 470.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009885/0.1337, allocations: 481.3 kB / 470.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006005/0.1343, allocations: 0.5588 MB / 471.1 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001457/0.1345, allocations: 95.95 kB / 471.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002499/0.1348, allocations: 251.2 kB / 471.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of Backend: time 5.01e-07/0.1348, allocations: 0 / 471.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.136, allocations: 0.5306 MB / 472 MB, free: 4.191 MB / 350.1 MB Notification: Performance of SimCode: time 0.001301/0.1373, allocations: 1.202 MB / 473.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of Templates: time 0.01344/0.1508, allocations: 7.888 MB / 481 MB, free: 11.05 MB / 366.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_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_PowerGrids.Electrical.Test.OneBusOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches