Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 74.25 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002848/0.002848, allocations: 159.3 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.554/1.554, allocations: 177.2 MB / 204.9 MB, free: 9.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1778/0.1778, allocations: 29.44 MB / 290.7 MB, free: 3.273 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002874/0.002874, allocations: 59.91 kB / 431.2 MB, free: 3.219 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4022, allocations: 62.44 MB / 493.6 MB, free: 37.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.009829/0.412, allocations: 6.077 MB / 499.7 MB, free: 33.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003288/0.4153, allocations: 1.391 MB / 0.4894 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004106/0.4157, allocations: 31.84 kB / 0.4894 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006864/0.4164, allocations: 151.2 kB / 0.4895 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.4175, allocations: 429.4 kB / 0.4899 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006873/0.4182, allocations: 219.7 kB / 0.4902 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.4193, allocations: 1.113 MB / 0.4912 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003232/0.4196, allocations: 220.6 kB / 0.4915 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000735/0.4203, allocations: 0.489 MB / 0.4919 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007635/0.4211, allocations: 0.5511 MB / 0.4925 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.4212, allocations: 70.88 kB / 0.4925 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.4214, allocations: 64.03 kB / 0.4926 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.4216, allocations: 324 kB / 0.4929 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.4219, allocations: 308.6 kB / 0.4932 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009527/0.4229, allocations: 0.8838 MB / 0.4941 GB, free: 30.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.769e-06/0.4229, allocations: 0 / 0.4941 GB, free: 30.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4229, allocations: 3.062 kB / 0.4941 GB, free: 30.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.4229, allocations: 0 / 0.4941 GB, free: 30.71 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001821/0.4247, allocations: 0.9708 MB / 0.495 GB, free: 30.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.4248, allocations: 16.77 kB / 0.495 GB, free: 30.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.4249, allocations: 79.44 kB / 0.4951 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008878/0.4258, allocations: 0.5119 MB / 0.4956 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/0.426, allocations: 227.5 kB / 0.4958 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.165e-05/0.4261, allocations: 52.41 kB / 0.4959 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.4273, allocations: 0.7809 MB / 0.4966 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.4273, allocations: 0 / 0.4966 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-05/0.4273, allocations: 19.19 kB / 0.4967 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.4275, allocations: 40.77 kB / 0.4967 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.4286, allocations: 0.6894 MB / 0.4974 GB, free: 28.93 MB / 446.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.003342/0.432, allocations: 2.423 MB / 0.4997 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.4335, allocations: 0.7081 MB / 0.5004 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004863/0.434, allocations: 309.7 kB / 0.5007 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.434, allocations: 3.375 kB / 0.5007 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.434, allocations: 37.78 kB / 0.5008 GB, free: 27.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=38): time 2.595e-06/0.434, allocations: 0 / 0.5008 GB, free: 27.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.003677/0.4377, allocations: 1.65 MB / 0.5024 GB, free: 26.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.4378, allocations: 83.95 kB / 0.5025 GB, free: 26.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.4382, allocations: 396.1 kB / 0.5028 GB, free: 25.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.4382, allocations: 32.92 kB / 0.5029 GB, free: 25.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.4384, allocations: 322 kB / 0.5032 GB, free: 25.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.4385, allocations: 143.2 kB / 0.5033 GB, free: 25.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.4387, allocations: 91.59 kB / 0.5034 GB, free: 25.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4388, allocations: 355.7 kB / 0.5037 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004537/0.4393, allocations: 238.3 kB / 0.504 GB, free: 25.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/0.4398, allocations: 350.2 kB / 0.5043 GB, free: 24.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009854/0.4408, allocations: 0.5786 MB / 0.5049 GB, free: 24.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4408, allocations: 3 kB / 0.5049 GB, free: 24.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001342/0.4421, allocations: 0.7032 MB / 0.5055 GB, free: 24.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.4421, allocations: 10.12 kB / 0.5056 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.4422, allocations: 3.031 kB / 0.5056 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002822/0.4424, allocations: 79.28 kB / 0.5056 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.4438, allocations: 288.5 kB / 0.5059 GB, free: 24.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004885/0.4487, allocations: 6.006 MB / 0.5118 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004754/0.4492, allocations: 33.08 kB / 0.5118 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.468e-05/0.4493, allocations: 16.81 kB / 0.5118 GB, free: 18.88 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003647/0.4496, allocations: 243 kB / 0.5121 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-05/0.4497, allocations: 48.84 kB / 0.5121 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.451, allocations: 0.6502 MB / 0.5127 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.451, allocations: 2.938 kB / 0.5127 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.451, allocations: 3.125 kB / 0.5127 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.451, allocations: 3.328 kB / 0.5127 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.4532, allocations: 1.253 MB / 0.514 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.4532, allocations: 5.031 kB / 0.514 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/0.4549, allocations: 304.3 kB / 0.5143 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003134/0.4552, allocations: 92.42 kB / 0.5144 GB, free: 17.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.4553, allocations: 7.719 kB / 0.5144 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.4571, allocations: 2.901 MB / 0.5172 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4571, allocations: 1.094 kB / 0.5172 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.4588, allocations: 1.05 MB / 0.5182 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.923e-05/0.4589, allocations: 42.3 kB / 0.5183 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.598e-05/0.4589, allocations: 12.12 kB / 0.5183 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.4593, allocations: 33.25 kB / 0.5183 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.4594, allocations: 46.8 kB / 0.5183 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.4594, allocations: 8.25 kB / 0.5184 GB, free: 14.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002433/0.4596, allocations: 267.8 kB / 0.5186 GB, free: 14.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4596, allocations: 0 / 0.5186 GB, free: 14.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006768/0.4603, allocations: 135.5 kB / 0.5187 GB, free: 14.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001108/0.4604, allocations: 111.5 kB / 0.5188 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002469/0.4629, allocations: 0.9649 MB / 0.5198 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4629, allocations: 1.469 kB / 0.5198 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00185/0.4648, allocations: 0.7136 MB / 0.5205 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007234/0.4655, allocations: 125.9 kB / 0.5206 GB, free: 13.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.4679, allocations: 1.444 MB / 0.522 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.4684, allocations: 347.5 kB / 0.5223 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003181/0.4687, allocations: 99.59 kB / 0.5224 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.4688, allocations: 38.91 kB / 0.5225 GB, free: 12.54 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4688, allocations: 1.25 kB / 0.5225 GB, free: 12.54 MB / 446.1 MB Notification: Performance of Templates: time 0.01804/0.4869, allocations: 7.25 MB / 0.5296 GB, free: 11.75 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.412590601015836]