Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.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.OneBusImpedanceVariableVoltageOneLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=600,variableFilter="UMod.height|UMod.offset|UMod.startTime|UPhase.height|UPhase.offset|UPhase.startTime|bus1.PStart|bus1.QStart|bus1.R|bus1.SNom|bus1.UFixed|bus1.UNom|bus1.UPhaseStart|bus1.UStart|bus1.X|bus1.Z.im|bus1.Z.re|bus1.i.im|bus1.i.re|bus1.localInit|bus1.port.IBase|bus1.port.IStart|bus1.port.PStart|bus1.port.QStart|bus1.port.SBase|bus1.port.SNom|bus1.port.UBase|bus1.port.UNom|bus1.port.UPhaseStart|bus1.port.UStart|bus1.port.VBase|bus1.port.VStart|bus1.port.i.im|bus1.port.i.re|bus1.port.iStart.im|bus1.port.iStart.re|bus1.port.portVariablesPhases|bus1.port.v.im|bus1.port.v.re|bus1.port.vStart.im|bus1.port.vStart.re|bus1.portVariablesPhases|bus1.thetaFixed|bus1.useThetaIn|bus1.useUIn|bus1.v.im|bus1.v.re|load1.PRef|load1.PRefConst|load1.PStart|load1.QRef|load1.QRefConst|load1.QStart|load1.SNom|load1.UNom|load1.UPhaseStart|load1.URef|load1.UStart|load1.alpha|load1.beta|load1.localInit|load1.port.IBase|load1.port.IStart|load1.port.PStart|load1.port.QStart|load1.port.SBase|load1.port.SNom|load1.port.UBase|load1.port.UNom|load1.port.UPhaseStart|load1.port.UStart|load1.port.VBase|load1.port.VStart|load1.port.i.im|load1.port.i.re|load1.port.iStart.im|load1.port.iStart.re|load1.port.portVariablesPhases|load1.port.v.im|load1.port.v.re|load1.port.vStart.im|load1.port.vStart.re|load1.portVariablesPhases|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=600,variableFilter="UMod.height|UMod.offset|UMod.startTime|UPhase.height|UPhase.offset|UPhase.startTime|bus1.PStart|bus1.QStart|bus1.R|bus1.SNom|bus1.UFixed|bus1.UNom|bus1.UPhaseStart|bus1.UStart|bus1.X|bus1.Z.im|bus1.Z.re|bus1.i.im|bus1.i.re|bus1.localInit|bus1.port.IBase|bus1.port.IStart|bus1.port.PStart|bus1.port.QStart|bus1.port.SBase|bus1.port.SNom|bus1.port.UBase|bus1.port.UNom|bus1.port.UPhaseStart|bus1.port.UStart|bus1.port.VBase|bus1.port.VStart|bus1.port.i.im|bus1.port.i.re|bus1.port.iStart.im|bus1.port.iStart.re|bus1.port.portVariablesPhases|bus1.port.v.im|bus1.port.v.re|bus1.port.vStart.im|bus1.port.vStart.re|bus1.portVariablesPhases|bus1.thetaFixed|bus1.useThetaIn|bus1.useUIn|bus1.v.im|bus1.v.re|load1.PRef|load1.PRefConst|load1.PStart|load1.QRef|load1.QRefConst|load1.QStart|load1.SNom|load1.UNom|load1.UPhaseStart|load1.URef|load1.UStart|load1.alpha|load1.beta|load1.localInit|load1.port.IBase|load1.port.IStart|load1.port.PStart|load1.port.QStart|load1.port.SBase|load1.port.SNom|load1.port.UBase|load1.port.UNom|load1.port.UPhaseStart|load1.port.UStart|load1.port.VBase|load1.port.VStart|load1.port.i.im|load1.port.i.re|load1.port.iStart.im|load1.port.iStart.re|load1.port.portVariablesPhases|load1.port.v.im|load1.port.v.re|load1.port.vStart.im|load1.port.vStart.re|load1.portVariablesPhases|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 110.4 kB / 16.42 MB, free: 6.516 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.001672/0.001672, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.328/1.328, 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.06556/0.06556, allocations: 14.18 MB / 284.8 MB, free: 13.85 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.001598/0.001598, allocations: 68.11 kB / 397.2 MB, free: 43.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06877/0.07038, allocations: 50.14 MB / 447.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad): time 0.005238/0.07565, allocations: 4.308 MB / 451.6 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003649/0.07933, allocations: 2.482 MB / 454.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004204/0.07978, allocations: 8 kB / 454.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007373/0.08057, allocations: 242.6 kB / 454.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.08321, allocations: 1.149 MB / 455.5 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005564/0.08378, allocations: 259.6 kB / 455.8 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.08506, allocations: 0.9535 MB / 456.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/0.0853, allocations: 81.67 kB / 456.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005443/0.08586, allocations: 346.7 kB / 457.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000549/0.08642, allocations: 330.7 kB / 457.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.08654, allocations: 32 kB / 457.5 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006882/0.08723, allocations: 283.8 kB / 457.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.737e-05/0.08734, allocations: 91.48 kB / 457.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003583/0.08771, allocations: 290.6 kB / 458.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.08892, allocations: 0.8174 MB / 458.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.08894, allocations: 0 / 458.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.08895, allocations: 0 / 458.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.08897, allocations: 0 / 458.9 MB, free: 1.965 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002874/0.09185, allocations: 1.024 MB / 460 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.0919, allocations: 16.02 kB / 460 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003628/0.09227, allocations: 76.59 kB / 460.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000796/0.09308, allocations: 448.9 kB / 460.5 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.09311, allocations: 25.38 kB / 460.5 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.09317, allocations: 32.38 kB / 460.6 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.09384, allocations: 386.9 kB / 460.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.09386, allocations: 0 / 460.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.09391, allocations: 16 kB / 460.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.09392, allocations: 8 kB / 461 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006336/0.09456, allocations: 347.8 kB / 461.3 MB, free: 15.51 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.003178/0.09775, allocations: 2.384 MB / 463.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00098/0.09874, allocations: 0.5604 MB / 464.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.09901, allocations: 140.8 kB / 464.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.09906, allocations: 8.375 kB / 464.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.0991, allocations: 38.56 kB / 464.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.455e-06/0.09911, allocations: 0 / 464.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.00239/0.1015, allocations: 0.8201 MB / 465.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.1016, allocations: 59.39 kB / 465.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.102, allocations: 341.7 kB / 465.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.102, allocations: 37.7 kB / 465.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.1021, allocations: 196.9 kB / 465.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.1023, allocations: 154.7 kB / 466 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.951e-05/0.1024, allocations: 61.66 kB / 466.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1025, allocations: 346.8 kB / 466.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.1027, allocations: 103.7 kB / 466.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.103, allocations: 133.8 kB / 466.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.1034, allocations: 266.1 kB / 466.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1034, allocations: 0 / 466.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001099/0.1045, allocations: 481.2 kB / 467.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1046, allocations: 8 kB / 467.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1046, allocations: 192 / 467.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007519/0.1053, allocations: 160.7 kB / 467.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.1057, allocations: 83.83 kB / 467.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002914/0.1086, allocations: 2.244 MB / 469.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.109, allocations: 27.81 kB / 469.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.109, allocations: 12 kB / 469.9 MB, free: 6.312 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 (31): * Single equations (assignments): 30 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002163/0.1093, allocations: 169.7 kB / 470.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.1094, allocations: 51.72 kB / 470.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.1106, allocations: 0.5065 MB / 470.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1106, allocations: 3.938 kB / 470.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1106, allocations: 0 / 470.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.1108, allocations: 164.7 kB / 470.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.078e-05/0.1109, allocations: 12 kB / 470.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.1113, allocations: 15.98 kB / 470.8 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.57e-05/0.1114, allocations: 35.94 kB / 470.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001229/0.1126, allocations: 0.5368 MB / 471.4 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008704/0.1135, allocations: 0.657 MB / 472.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002163/0.1137, allocations: 132.3 kB / 472.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002584/0.114, allocations: 251.2 kB / 472.4 MB, free: 3.734 MB / 350.1 MB Notification: Performance of Backend: time 5.51e-07/0.114, allocations: 0 / 472.4 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.1154, allocations: 0.585 MB / 473 MB, free: 3.133 MB / 350.1 MB Notification: Performance of SimCode: time 0.001372/0.1168, allocations: 1.254 MB / 474.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of Templates: time 0.01431/0.1311, allocations: 8.287 MB / 482.6 MB, free: 9.535 MB / 366.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches