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.001649/0.001649, allocations: 108.6 kB / 16.41 MB, free: 6.52 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.001746/0.001747, allocations: 186.7 kB / 17.35 MB, free: 5.738 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.305/1.305, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06255/0.06255, allocations: 14.18 MB / 284.8 MB, free: 13.84 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.001486/0.001486, allocations: 67.64 kB / 397.2 MB, free: 43.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06948/0.07097, 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.005519/0.07653, allocations: 4.3 MB / 451.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003825/0.08039, allocations: 2.478 MB / 454.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005145/0.08094, allocations: 11.94 kB / 454.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007857/0.08182, allocations: 246.6 kB / 454.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.0845, allocations: 1.145 MB / 455.5 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005551/0.08506, allocations: 256.3 kB / 455.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.0863, allocations: 0.9496 MB / 456.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.0865, allocations: 85.67 kB / 456.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005169/0.08702, allocations: 346.7 kB / 457.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005609/0.08759, allocations: 338.6 kB / 457.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.771e-05/0.0877, allocations: 32 kB / 457.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006873/0.08839, allocations: 279.8 kB / 457.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.08851, allocations: 83.56 kB / 457.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000357/0.08887, allocations: 286.6 kB / 458.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.09002, allocations: 0.8218 MB / 458.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.09004, allocations: 0 / 458.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.09005, allocations: 0 / 458.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.09008, allocations: 4 kB / 458.9 MB, free: 1.969 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.002875/0.09296, allocations: 0.9978 MB / 459.9 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.09302, allocations: 12.03 kB / 460 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003688/0.0934, allocations: 80.25 kB / 460 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008165/0.09422, allocations: 448.5 kB / 460.5 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.09426, allocations: 21.38 kB / 460.5 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.09432, allocations: 36.38 kB / 460.5 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006792/0.095, allocations: 382.9 kB / 460.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.09502, allocations: 0 / 460.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.09506, allocations: 16 kB / 460.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.09508, allocations: 12 kB / 460.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006436/0.09573, allocations: 351.7 kB / 461.3 MB, free: 15.54 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.003197/0.09894, allocations: 2.372 MB / 463.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.09996, allocations: 0.5604 MB / 464.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/0.1002, allocations: 144.8 kB / 464.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.247e-05/0.1003, allocations: 4.438 kB / 464.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.1003, allocations: 38.56 kB / 464.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 3.717e-06/0.1003, allocations: 3.984 kB / 464.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.002415/0.1027, allocations: 0.8121 MB / 465.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.1028, allocations: 55.41 kB / 465.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004161/0.1032, allocations: 345.7 kB / 465.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.1033, allocations: 33.7 kB / 465.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1034, allocations: 204.6 kB / 465.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.1036, allocations: 137.9 kB / 466 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.1037, allocations: 61.89 kB / 466 MB, free: 10.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1038, allocations: 346.8 kB / 466.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.1041, allocations: 111.7 kB / 466.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.1043, allocations: 133.7 kB / 466.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.1047, allocations: 262.1 kB / 466.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1047, allocations: 0 / 466.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001047/0.1058, allocations: 484.9 kB / 467.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1058, allocations: 8 kB / 467.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.1058, allocations: 0 / 467.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007426/0.1066, allocations: 160.7 kB / 467.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.1069, allocations: 67.95 kB / 467.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002915/0.1098, allocations: 2.252 MB / 469.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.1102, allocations: 27.78 kB / 469.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.1102, allocations: 19.92 kB / 469.9 MB, free: 6.359 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.0001986/0.1104, allocations: 165.7 kB / 470 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.52e-05/0.1105, allocations: 43.53 kB / 470.1 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.1117, allocations: 0.5065 MB / 470.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1117, allocations: 3.938 kB / 470.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1117, allocations: 4 kB / 470.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.1119, allocations: 160.5 kB / 470.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.112, allocations: 11.94 kB / 470.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.1124, allocations: 23.84 kB / 470.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/0.1124, allocations: 31.94 kB / 470.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001235/0.1137, allocations: 0.5408 MB / 471.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008491/0.1145, allocations: 0.6489 MB / 472 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002333/0.1148, allocations: 136.3 kB / 472.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002549/0.1151, allocations: 251.2 kB / 472.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of Backend: time 7.01e-07/0.1151, allocations: 0 / 472.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.1165, allocations: 0.5852 MB / 473 MB, free: 3.188 MB / 350.1 MB Notification: Performance of SimCode: time 0.001409/0.1179, allocations: 1.24 MB / 474.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of Templates: time 0.01423/0.1322, allocations: 8.283 MB / 482.5 MB, free: 9.609 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