Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_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_symb_jac_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.001546/0.001546, allocations: 115.8 kB / 17.1 MB, free: 6.004 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.0018/0.001801, allocations: 188.9 kB / 18.03 MB, free: 5.086 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.361/1.361, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06468/0.06468, 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.001469/0.001469, allocations: 72.41 kB / 397.9 MB, free: 43.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06777/0.06925, allocations: 50.13 MB / 448 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad): time 0.004826/0.07411, allocations: 4.32 MB / 452.3 MB, free: 9.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003362/0.0775, allocations: 2.466 MB / 454.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003015/0.07782, allocations: 7.938 kB / 454.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006555/0.0785, allocations: 254.6 kB / 455 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002393/0.08091, allocations: 1.146 MB / 456.2 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.08144, allocations: 255.1 kB / 456.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.08258, allocations: 0.9535 MB / 457.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.08278, allocations: 85.67 kB / 457.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004622/0.08325, allocations: 342.7 kB / 457.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004563/0.08371, allocations: 330.7 kB / 458.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.423e-05/0.08381, allocations: 36 kB / 458.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005759/0.08439, allocations: 271.8 kB / 458.4 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.498e-05/0.08449, allocations: 91.55 kB / 458.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003045/0.0848, allocations: 282.6 kB / 458.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009886/0.08579, allocations: 0.8218 MB / 459.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.08581, allocations: 4 kB / 459.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.08582, allocations: 0 / 459.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.08584, allocations: 4 kB / 459.6 MB, free: 1.984 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.002781/0.08862, allocations: 1.005 MB / 460.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.08867, allocations: 8.031 kB / 460.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003577/0.08903, allocations: 80.25 kB / 460.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000754/0.0898, allocations: 440.5 kB / 461.1 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.08983, allocations: 29.38 kB / 461.2 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.08989, allocations: 36.38 kB / 461.2 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006501/0.09054, allocations: 383 kB / 461.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.09057, allocations: 7.938 kB / 461.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.09061, allocations: 19.98 kB / 461.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.09062, allocations: 8 kB / 461.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006125/0.09124, allocations: 339.8 kB / 461.9 MB, free: 15.55 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.003132/0.09438, allocations: 2.384 MB / 464.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009782/0.09537, allocations: 0.557 MB / 464.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.09564, allocations: 140.8 kB / 465 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.09568, allocations: 4 kB / 465 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.09572, allocations: 42.48 kB / 465.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 3.347e-06/0.09573, allocations: 4 kB / 465.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.002408/0.09814, allocations: 0.8121 MB / 465.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.09818, allocations: 55.41 kB / 465.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.09856, allocations: 345.7 kB / 466.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.09859, allocations: 29.7 kB / 466.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.09872, allocations: 204.6 kB / 466.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.09888, allocations: 138 kB / 466.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.353e-05/0.09899, allocations: 61.7 kB / 466.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.09911, allocations: 346.8 kB / 467 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.09932, allocations: 103.7 kB / 467.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.09955, allocations: 137.8 kB / 467.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.1, allocations: 266.1 kB / 467.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1, allocations: 0 / 467.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001083/0.1011, allocations: 484.9 kB / 468 MB, free: 9.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1011, allocations: 4 kB / 468 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1011, allocations: 0 / 468 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007222/0.1019, allocations: 156.7 kB / 468.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.1022, allocations: 79.89 kB / 468.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/0.1052, allocations: 2.259 MB / 470.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.1056, allocations: 23.83 kB / 470.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.1057, allocations: 12 kB / 470.5 MB, free: 6.375 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.0001785/0.1058, allocations: 169.7 kB / 470.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-05/0.1059, allocations: 39.53 kB / 470.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.1072, allocations: 0.5143 MB / 471.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.1072, allocations: 7.922 kB / 471.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1072, allocations: 0 / 471.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.1074, allocations: 156.5 kB / 471.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.1075, allocations: 4 kB / 471.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.1078, allocations: 31.83 kB / 471.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-05/0.1079, allocations: 31.94 kB / 471.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001314/0.1093, allocations: 0.5445 MB / 472 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003927/0.1132, allocations: 2.949 MB / 475 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002335/0.1134, allocations: 132.2 kB / 475.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002492/0.1137, allocations: 255.1 kB / 475.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of Backend: time 2.81e-07/0.1137, allocations: 0 / 475.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.1151, allocations: 0.5826 MB / 475.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of SimCode: time 0.001928/0.1171, allocations: 1.859 MB / 477.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of Templates: time 0.01546/0.1325, allocations: 9.067 MB / 486.9 MB, free: 5.773 MB / 366.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches