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.001313/0.001313, allocations: 111.6 kB / 16.42 MB, free: 6.488 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.001371/0.001372, allocations: 185.7 kB / 17.35 MB, free: 5.758 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.275/1.275, 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.06278/0.06278, 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.001388/0.001388, allocations: 69.92 kB / 397.2 MB, free: 43.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06451/0.0659, allocations: 50.13 MB / 447.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.004723/0.07066, allocations: 4.179 MB / 451.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003317/0.07401, allocations: 2.454 MB / 454 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003138/0.07435, allocations: 7.938 kB / 454 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.075, allocations: 242.7 kB / 454.2 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.07748, allocations: 1.139 MB / 455.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.078, allocations: 242.6 kB / 455.6 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.07914, allocations: 0.9339 MB / 456.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.07933, allocations: 72.97 kB / 456.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004689/0.0798, allocations: 326.8 kB / 456.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004765/0.08029, allocations: 322.7 kB / 457.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.408e-05/0.08037, allocations: 32 kB / 457.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006093/0.08099, allocations: 275.8 kB / 457.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.757e-05/0.08107, allocations: 79.62 kB / 457.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002974/0.08138, allocations: 270.7 kB / 457.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.08249, allocations: 0.7829 MB / 458.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.08251, allocations: 7.938 kB / 458.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.08252, allocations: 0 / 458.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.08254, allocations: 0 / 458.6 MB, free: 2.277 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.002716/0.08526, allocations: 0.9552 MB / 459.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.08531, allocations: 8.031 kB / 459.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003662/0.08568, allocations: 84.19 kB / 459.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007659/0.08646, allocations: 432.6 kB / 460.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.0865, allocations: 25.38 kB / 460.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.08655, allocations: 35.94 kB / 460.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.08708, allocations: 346.4 kB / 460.5 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.0871, allocations: 0 / 460.5 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.08714, allocations: 16 kB / 460.5 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.08717, allocations: 12 kB / 460.5 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004806/0.08766, allocations: 310.5 kB / 460.8 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.002898/0.09057, allocations: 2.319 MB / 463.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009669/0.09155, allocations: 0.548 MB / 463.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.09177, allocations: 120.8 kB / 463.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.09182, allocations: 4.625 kB / 463.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.09186, allocations: 34.56 kB / 463.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 3.076e-06/0.09187, allocations: 0 / 463.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.002326/0.09421, allocations: 0.7442 MB / 464.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.09426, allocations: 55.41 kB / 464.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004596/0.09472, allocations: 332.5 kB / 465 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.09477, allocations: 33.7 kB / 465 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.09493, allocations: 192.3 kB / 465.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.09508, allocations: 130.1 kB / 465.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.0952, allocations: 63.03 kB / 465.4 MB, free: 11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.09535, allocations: 346.8 kB / 465.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.09551, allocations: 88.62 kB / 465.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.09569, allocations: 130.8 kB / 466 MB, free: 10.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.09604, allocations: 230 kB / 466.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.09605, allocations: 0 / 466.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009666/0.09702, allocations: 445.6 kB / 466.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.09705, allocations: 11.94 kB / 466.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.09706, allocations: 0 / 466.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007192/0.09779, allocations: 160.6 kB / 466.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.0981, allocations: 71.95 kB / 466.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/0.1013, allocations: 2.259 MB / 469.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.1017, allocations: 19.84 kB / 469.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.1017, allocations: 16 kB / 469.1 MB, free: 7.086 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.0001987/0.1019, allocations: 161.7 kB / 469.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.1021, allocations: 39.53 kB / 469.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009992/0.1031, allocations: 462.9 kB / 469.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.1031, allocations: 7.938 kB / 469.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1031, allocations: 0 / 469.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.1033, allocations: 152.5 kB / 470 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.1034, allocations: 8 kB / 470 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.1037, allocations: 15.98 kB / 470 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.1037, allocations: 27.95 kB / 470 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001096/0.1048, allocations: 496.8 kB / 470.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000664/0.1055, allocations: 0.5701 MB / 471.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001475/0.1057, allocations: 99.95 kB / 471.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002687/0.1059, allocations: 243 kB / 471.4 MB, free: 4.777 MB / 350.1 MB Notification: Performance of Backend: time 7.91e-07/0.106, allocations: 0 / 471.4 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.1074, allocations: 0.5741 MB / 472 MB, free: 4.184 MB / 350.1 MB Notification: Performance of SimCode: time 0.001347/0.1087, allocations: 1.21 MB / 473.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of Templates: time 0.01296/0.1217, allocations: 7.908 MB / 481.1 MB, free: 11.02 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