Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_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_symb_jac_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.001458/0.001458, allocations: 116.3 kB / 17.1 MB, free: 5.973 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.001589/0.001589, allocations: 192.8 kB / 18.03 MB, free: 5.059 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.31/1.31, 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.06355/0.06355, allocations: 14.17 MB / 285.4 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.001397/0.001397, allocations: 66.58 kB / 397.9 MB, free: 43.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06659/0.06799, allocations: 50.12 MB / 448 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.004591/0.07262, allocations: 4.189 MB / 452.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003156/0.0758, allocations: 2.446 MB / 454.6 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.076, allocations: 8 kB / 454.6 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005386/0.07657, allocations: 250.6 kB / 454.9 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.07874, allocations: 1.138 MB / 456 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.07922, allocations: 247.1 kB / 456.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009369/0.08016, allocations: 0.93 MB / 457.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.08033, allocations: 68.98 kB / 457.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00037/0.08071, allocations: 334.8 kB / 457.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003662/0.08109, allocations: 314.7 kB / 457.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.08116, allocations: 32 kB / 457.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005036/0.08167, allocations: 275.8 kB / 458.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.691e-05/0.08174, allocations: 79.62 kB / 458.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.08199, allocations: 274.7 kB / 458.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008672/0.08287, allocations: 0.7829 MB / 459.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.08288, allocations: 3.938 kB / 459.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.08289, allocations: 0 / 459.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.08291, allocations: 0 / 459.3 MB, free: 2.273 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.002504/0.08542, allocations: 0.963 MB / 460.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.08546, allocations: 8.031 kB / 460.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000327/0.0858, allocations: 72.27 kB / 460.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007034/0.08651, allocations: 444.5 kB / 460.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.08654, allocations: 21.38 kB / 460.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.08659, allocations: 39.94 kB / 460.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/0.08712, allocations: 346.4 kB / 461.2 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.08714, allocations: 0 / 461.2 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.08718, allocations: 16 kB / 461.2 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.08719, allocations: 8 kB / 461.2 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/0.08769, allocations: 310.4 kB / 461.5 MB, free: 15.97 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.002727/0.09043, allocations: 2.315 MB / 463.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009694/0.09141, allocations: 0.5441 MB / 464.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.0916, allocations: 128.8 kB / 464.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.09164, allocations: 4.625 kB / 464.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.09167, allocations: 34.56 kB / 464.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.854e-06/0.09168, allocations: 0 / 464.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.002183/0.09386, allocations: 0.7403 MB / 465.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.0939, allocations: 55.41 kB / 465.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.09426, allocations: 328.6 kB / 465.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.0943, allocations: 33.7 kB / 465.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.09443, allocations: 200.3 kB / 465.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.09453, allocations: 122.2 kB / 466 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.794e-05/0.09464, allocations: 75.02 kB / 466.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.09477, allocations: 338.8 kB / 466.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.09494, allocations: 92.61 kB / 466.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.09511, allocations: 122.9 kB / 466.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.09546, allocations: 234 kB / 466.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.09547, allocations: 4 kB / 466.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009718/0.09645, allocations: 445.6 kB / 467.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.09648, allocations: 7.938 kB / 467.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.09649, allocations: 0 / 467.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000726/0.09722, allocations: 160.7 kB / 467.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.09754, allocations: 67.89 kB / 467.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002981/0.1005, allocations: 2.265 MB / 469.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.1009, allocations: 19.84 kB / 469.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.1009, allocations: 8 kB / 469.8 MB, free: 7.094 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.0001715/0.1011, allocations: 165.7 kB / 470 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.1012, allocations: 39.53 kB / 470 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.1022, allocations: 462.9 kB / 470.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.1022, allocations: 7.922 kB / 470.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1022, allocations: 0 / 470.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.1024, allocations: 156.5 kB / 470.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.1025, allocations: 8 kB / 470.6 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.1028, allocations: 12 kB / 470.6 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.1029, allocations: 35.94 kB / 470.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001085/0.1039, allocations: 493.1 kB / 471.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002955/0.1069, allocations: 2.405 MB / 473.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001524/0.1071, allocations: 104 kB / 473.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002391/0.1073, allocations: 239 kB / 473.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of Backend: time 4.51e-07/0.1073, allocations: 0 / 473.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.1087, allocations: 0.5697 MB / 474.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of SimCode: time 0.001746/0.1105, allocations: 1.792 MB / 476.3 MB, free: 388 kB / 350.1 MB Notification: Performance of Templates: time 0.01414/0.1246, allocations: 8.635 MB / 484.9 MB, free: 7.738 MB / 366.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches